#20889: HttpResponseBase._convert_to_charset complains about newline it inserted
itself
-------------------------------+------------------------------------
     Reporter:  mjl@…          |                    Owner:  rednaw
         Type:  Bug            |                   Status:  new
    Component:  HTTP handling  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:  nlsprint14     |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------
Changes (by claudep):

 * status:  closed => new
 * has_patch:  0 => 1
 * version:  1.7-beta-2 => master
 * resolution:  needsinfo =>
 * stage:  Unreviewed => Accepted


Comment:

 I've encountered this bug on a production site. I'm suggesting to check
 for newlines in user-provided values, before formatting the header through
 Python API to workaround this issue.

 https://github.com/django/django/pull/4163

--
Ticket URL: <https://code.djangoproject.com/ticket/20889#comment:14>
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/072.66563d685f9dcce5918a178103e86d27%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to