[issue26302] cookies module allows commas in keys

Serhiy Storchaka report at bugs.python.org
Sat Feb 6 03:35:47 EST 2016


Serhiy Storchaka added the comment:

Ah, how can I missed this catch?

The simplest way is just move "-" to the start or the end of character list. The most error-proof way is to use re.escape().

----------
components: +Library (Lib)
keywords: +easy -3.5regression
nosy: +demian.brecht
stage:  -> needs patch
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26302>
_______________________________________


More information about the Python-bugs-list mailing list