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

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


Comment:

 In [changeset:"efb1f99f943b99624c78b91ff58502125490191e"]:
 {{{
 #!CommitTicketReference repository=""
 revision="efb1f99f943b99624c78b91ff58502125490191e"
 Fixed #20889 -- Prevented BadHeaderError when Python inserts newline

 Workaround for http://bugs.python.org/issue20747.
 In some corner cases, Python 2 inserts a newline in a header value
 despite `maxlinelen` passed in Header constructor.
 Thanks Tim Graham for the review.
 }}}

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

Reply via email to