homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:24Waldemar.Parzonkasetrecipients: + Waldemar.Parzonka
2014年11月24日 15:43:24Waldemar.Parzonkasetmessageid: <1416843804.34.0.815840624187.issue22931@psf.upfronthosting.co.za>
2014年11月24日 15:43:24Waldemar.Parzonkalinkissue22931 messages
2014年11月24日 15:43:23Waldemar.Parzonkacreate

AltStyle によって変換されたページ (->オリジナル) /