LDO-CERT / methlab

MIT License
7 stars 0 forks source link

list index out of range /app/methlab/shop/models.py, line 393, in receivers #150

Open lucamemini opened 3 years ago

lucamemini commented 3 years ago

In caso il valore "address" nella tabella shop_address sia compilato in maniera errata (senza la parte di dominio dopo la @) la UI ritorna l'errore "index out of range"

/app/methlab/shop/models.py, line 393, in receivers if "@{}".format(x.split("@")[1]) in info.internal_domains: