#29837: Allow email sending with a newline in the subject
-------------------------------+--------------------------------------
     Reporter:  Álex Córcoles  |                    Owner:  nobody
         Type:  New feature    |                   Status:  closed
    Component:  Core (Mail)    |                  Version:  2.1
     Severity:  Normal         |               Resolution:  wontfix
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by Tim Graham):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I guess you didn't see the
 [https://docs.djangoproject.com/en/dev/topics/email/#preventing-header-
 injection Preventing header injection] section.

 If you want to make a proposal about changing the behavior, the
 DevelopersMailingList would be the place to do it. A more concrete
 proposal than "the necessary security hardening" is needed.  If there's a
 consensus, then we'd reopen this ticket.

 I didn't see anything in the original ticket (#1135) about the
 implementation (vs. trying to do some sanitization). If other frameworks
 have a different behavior, it may make sense to follow their pattern. I
 agree it can be a bit cumbersome to catch `BadHeaderError` or write your
 own sanitization.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29837#comment:6>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.ccf020e56733647d8a1d187a2a842ca4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to