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 <rep...@bugs.python.org>
<http://bugs.python.org/issue23930>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to