#23900 closed Cleanup/optimization (fixed)
Section on Preventing header injection does not include some imports
Reported by: | Kevin Ndung'u | Owned by: | Kevin Ndung'u |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | BadHeaderError, docs |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
The documentation section on Preventing header injection https://docs.djangoproject.com/en/1.7/topics/email/#preventing-header-injection, and specifically, the example provided uses HttpResponse and HttpResponseRedirect yet they are not imported.
Change History (7)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 10 years ago
Has patch: | set |
---|
comment:3 by , 10 years ago
Component: | Uncategorized → Documentation |
---|---|
Triage Stage: | Unreviewed → Accepted |
Version: | 1.7 → master |
comment:4 by , 10 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
PR is at https://github.com/django/django/pull/3608 and LGTM.