]> granicus.if.org Git - python/commit
[Patch #1574068 by Scott Dial] urllib and urllib2 were using
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 27 Oct 2006 17:13:33 +0000 (17:13 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 27 Oct 2006 17:13:33 +0000 (17:13 +0000)
commitff9e7abac8df84480bcfd7e3ce3a3dd912e69537
tree82192ea2f35298639466ec5e05a28c72f33961bc
parent7d1d540cc371e7c6ebfb3bc1c99699e5dcbdafe5
[Patch #1574068 by Scott Dial] urllib and urllib2 were using
base64.encodestring() for encoding authentication data.
encodestring() can include newlines for very long input, which
produced broken HTTP headers.

2.4 backport candidate, probably.
Lib/urllib.py
Lib/urllib2.py
Misc/NEWS