Message231605
There seems to be weird behaviour in BaseCookie.load() when cookie that has '[' in one of the values is being loaded.
There is no exception being thrown as the key is still legal but the cookie is not getting loaded properly and everything that was after the '[' valued cookie is being silently ignored.
>>> dd = SimpleCookie()
>>> dd
<SimpleCookie: >
>>> s = 'a=b; c=[; d=r; f=h'
>>> dd.load(s)
>>> dd
<SimpleCookie: a='b'>
>>> |
|
Date |
User |
Action |
Args |
2014-11-24 15:43:24 | Waldemar.Parzonka | set | recipients:
+ Waldemar.Parzonka |
2014-11-24 15:43:24 | Waldemar.Parzonka | set | messageid: <1416843804.34.0.815840624187.issue22931@psf.upfronthosting.co.za> |
2014-11-24 15:43:24 | Waldemar.Parzonka | link | issue22931 messages |
2014-11-24 15:43:23 | Waldemar.Parzonka | create | |
|