ixc / ixc-django-docker

Scripts and config files that make it easier to run Django projects consistently with and without Docker.
5 stars 1 forks source link

Hijack django-post-office email-sending with bandit #18

Closed jmurty closed 5 years ago

jmurty commented 5 years ago

Applied Tai's fix to hijack emails sent via post_office.mail.send() as well as Django's send_email() whereas previously only the latter was hijacked.

The setting change is defensive, and only applied on sites with post-office settings already defined.

As developed and tested against the AGSA site.