And now Skype WISPr and iPassConnect user agents are using this separator
and the cookies are not handled by Django correctly. A simple test:
{{{
client = test.Client(HTTP_COOKIE='zz=a,zzz=b,zzzz=c')
client.get('/')
}}}
Ends up with:
{{{
{'zz': 'a,zzz=b,zzzz=c'}
}}}
as request.COOKIES in Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/24634>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
It happens only if the cookies are separated by comma. Comma plus space
works.
--
Ticket URL: <https://code.djangoproject.com/ticket/24634#comment:1>
* status: new => closed
* resolution: => invalid
Comment:
Django uses Python's cookie parsing, so if this is to be addressed at all,
I think it should be addressed upstream. I'd
[https://www.google.com/search?q=cookie+comma+separated+python+site:bugs.python.org
check to see] if a similar issue has been raised in the past before filing
a bug.
--
Ticket URL: <https://code.djangoproject.com/ticket/24634#comment:2>