Demian Brecht added the comment:

Attached patch to fix the issue as reported.

Something interesting that came out of this though is that due to the regex 
expression, if there's an invalid character in one of the cookie-octets, the 
rest of the cookie is ignored. I would assume that it should either a) ignore 
the entire cookie string or b) ignore the invalid cookie pair and accept valid 
pairs following. I've been unable to find that defined in any of the RFCs 
though.

----------
keywords: +patch
Added file: http://bugs.python.org/file37340/issue22931.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22931>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to