#33096: AdminEmailHandler emails blocked by gmail antivirus
-------------------------------------------+------------------------
               Reporter:  Jan Schär        |          Owner:  (none)
                   Type:  Bug              |         Status:  new
              Component:  Error reporting  |        Version:  3.2
               Severity:  Normal           |       Keywords:
           Triage Stage:  Unreviewed       |      Has patch:  1
    Needs documentation:  0                |    Needs tests:  0
Patch needs improvement:  0                |  Easy pickings:  0
                  UI/UX:  0                |
-------------------------------------------+------------------------
 Django errror/stack trace emails (django.utils.log.AdminEmailHandler) are
 blocked by the gmail antivirus with the following messages:

 {{{
 host gmail-smtp-in.l.google.com[142.250.110.26] said:
     This message was blocked because its content presents a potential
     security issue. Please visit
     https://support.google.com/mail/?p=BlockedMessage to review our
     message content and attachment content guidelines.
 }}}

 This is caused by the following tag in the html email:

 {{{
 <form action="https://dpaste.com/"; name="pasteform" id="pasteform"
 method="post">
 }}}

 This worked before, so it is caused by a relatively recent change in
 gmail's antivirus.
 The fix is simply to remove the form tag, which should not have been there
 anyway.

 Patch: https://github.com/django/django/pull/14840

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33096>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.e6b8e357b16074c7bfbb7e9963893d40%40djangoproject.com.

Reply via email to