Message129330
in Lib/Cookie.py, BaseCookie load() method performs the following comparison on line 624:
str(rawdata) == str("")
This breaks when a unicode string is passed in for rawdata. I've included a patch that fixes this issue by using isinstance(rawdata, basestring) comparison instead. Additionally the patch encodes rawdata in ascii before sending it to __ParseString() since that method does not support unicode. |
|
Date |
User |
Action |
Args |
2011-02-25 04:05:03 | Alexander.Tsepkov | set | recipients:
+ Alexander.Tsepkov |
2011-02-25 04:05:03 | Alexander.Tsepkov | set | messageid: <1298606703.83.0.56959729812.issue11315@psf.upfronthosting.co.za> |
2011-02-25 04:05:01 | Alexander.Tsepkov | link | issue11315 messages |
2011-02-25 04:05:00 | Alexander.Tsepkov | create | |
|