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 Artur Smęt
Recipients Artur Smęt
Date 2016-08-03.13:03:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470229432.51.0.547311561019.issue27674@psf.upfronthosting.co.za>
In-reply-to
Content
Problem exists in Chrome for sure (it sends cookies as they are - set with JS for example).

I have two another examples that can make this issue more clear:

>>> from Cookie import SimpleCookie
>>> c = SimpleCookie()
>>> c.load('a=b; c=c"c; d=d')
>>> c.output()
'Set-Cookie: a=b'

Also using escaping and quotes (cookie version 1) works:
>>> c = SimpleCookie()
>>> c.load('a=b; c="c\\"c"; d=d')
>>> c.output()
'Set-Cookie: a=b\r\nSet-Cookie: c="c\\"c"\r\nSet-Cookie: d=d'
>>>
History
Date User Action Args
2016-08-03 13:03:52Artur Smętsetrecipients: + Artur Smęt
2016-08-03 13:03:52Artur Smętsetmessageid: <1470229432.51.0.547311561019.issue27674@psf.upfronthosting.co.za>
2016-08-03 13:03:52Artur Smętlinkissue27674 messages
2016-08-03 13:03:52Artur Smętcreate