commit | ff9e7abac8df84480bcfd7e3ce3a3dd912e69537 | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Fri Oct 27 17:13:33 2006 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Fri Oct 27 17:13:33 2006 +0000 |
tree | 82192ea2f35298639466ec5e05a28c72f33961bc | |
parent | 7d1d540cc371e7c6ebfb3bc1c99699e5dcbdafe5 [diff] |
[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.