Opened 3 years ago
Closed 3 years ago
#33096 closed Bug (fixed)
AdminEmailHandler emails blocked by gmail antivirus
Reported by: | Jan Schär | Owned by: | Jan Schär |
---|---|---|---|
Component: | Error reporting | Version: | 3.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Change History (3)
comment:1 by , 3 years ago
Needs tests: | set |
---|---|
Owner: | set to |
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 3 years ago
Needs tests: | unset |
---|---|
Triage Stage: | Accepted → Ready for checkin |
comment:3 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In 06e59d97: