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 <>
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:24Waldemar.Parzonkasetrecipients: + Waldemar.Parzonka
2014-11-24 15:43:24Waldemar.Parzonkasetmessageid: <>
2014-11-24 15:43:24Waldemar.Parzonkalinkissue22931 messages
2014-11-24 15:43:23Waldemar.Parzonkacreate