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 Tim.Graham
Recipients Tim.Graham
Date 2015-09-24.16:57:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Regression in (affects 2.7 and 3.2+), similar to issue22931 where inserting an invalid cookie value can cause the rest of the cookie to be ignored. A test is attached, and here's a quick demo:

>>> from http.cookies import SimpleCookie
>>> SimpleCookie('a=b; messages=[\"\"]; c=d;')
{'a': 'b', 'c': 'd', 'messages': ''}

>>> SimpleCookie('a=b; messages=[\"\"]; c=d;')
{'a': 'b'}

Reported in Django's tracker, but Django simply delegates to SimpleCookie:
Date User Action Args
2015-09-24 16:57:56Tim.Grahamsetrecipients: + Tim.Graham
2015-09-24 16:57:56Tim.Grahamsetmessageid: <>
2015-09-24 16:57:56Tim.Grahamlinkissue25228 messages
2015-09-24 16:57:56Tim.Grahamcreate