[issue22983] Cookie parsing should be more permissive
Demian Brecht
report at bugs.python.org
Tue Dec 2 18:25:51 CET 2014
Demian Brecht added the comment:
Sure, but this is in regards to the initial matching, not the parsing. Because the pattern expects RFC conformity, in this cookie string:
Cookie: a=b; c=[; d=r; f=h
The only matching parts will be:
Cookie: a=b;
The rest will be discarded. What I'm proposing is that this should instead result in:
Cookie: a=b; d=r; f=h
The recent changes would stay intact.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22983>
_______________________________________
More information about the Python-bugs-list
mailing list