Message231605
| Author |
Waldemar.Parzonka |
| Recipients |
Waldemar.Parzonka |
| Date |
2014年11月24日.15:43:23 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1416843804.34.0.815840624187.issue22931@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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'>
>>> |
|
History
|
|---|
| 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 |
|