Backport fix on #16611 to Python 2.7
Makoto Kuwata
kwa at kuwata-lab.com
Tue Jun 17 20:56:00 EDT 2014
Hi,
I found a bug on SimpleCookie#load() which doesn't parse
'secure' and 'httponly' attributes correctly.
try:
from Cookie import SimpleCookie
except:
from http.cookies import SimpleCookie
ck = SimpleCookie()
ck.load('name1=value1; Path=/xxx; httponly; secure')
print(ck.output()) #=> Set-Cookie: name1=value1; Path=/xxx
# (Missing 'httponly' and 'secure' attributes on Python <
3.3.2!)
This bug has been registered as #16611, and fixed on 3.3.3.
But it is not backported into Python 2.7.
http://bugs.python.org/issue16611
My question: Is there any plan to backport the fix to Python 2.7?
--
regards,
makoto kuwata
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140618/3bb46abc/attachment.html>
More information about the Python-list
mailing list