Message143928
Even though RFC 6265's cookie-value's cookie-octet definition says that whitespace characters are not allowed (see http://tools.ietf.org/html/rfc6265), there are non-compliant web sites that send cookie values with newlines. cookielib.LWPCookieJar will save the bad value in a cookie file, but when it tries to load it, it probably is only splitting by newlines, so it crashes on the invalid line. The easiest thing would probably be to just ignore cookies that have values with a newline. (Note: I'm using Python 2.5, so this might have been fixed in a later version.) |
|
Date |
User |
Action |
Args |
2011-09-12 19:14:40 | paulie4 | set | recipients:
+ paulie4 |
2011-09-12 19:14:40 | paulie4 | set | messageid: <1315854880.61.0.95908383563.issue12966@psf.upfronthosting.co.za> |
2011-09-12 19:14:40 | paulie4 | link | issue12966 messages |
2011-09-12 19:14:39 | paulie4 | create | |
|