[New-bugs-announce] [issue23930] SimpleCookie doesn't parse comma-only separated cookies correctly

Piotr report at bugs.python.org
Mon Apr 13 15:17:33 CEST 2015


New submission from Piotr:

Skype WISPr and iPassConnect (and maybe other bots) return cookies as a comma separated list. It's not a comma + space (which works).

C = cookies.SimpleCookie()
C.load('a=b,z=zz')
>>> C['a']
<Morsel: a='b,z=zz'>

I wonder what would those bots do if there was a comma in a cookie value.

----------
components: Library (Lib)
messages: 240603
nosy: riklaunim
priority: normal
severity: normal
status: open
title: SimpleCookie doesn't  parse comma-only separated cookies correctly
type: behavior
versions: Python 3.4

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


More information about the New-bugs-announce mailing list