#24634: Comma as a cookie separator in HTTP_COOKIES is not handled correctly
-------------------------------+--------------------
Reporter: riklaunim | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
RFC https://www.ietf.org/rfc/rfc2109.txt states:
{{{
A server should also accept comma (,) as the separator between cookie-
values for future compatibility.
}}}
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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.8fa790a077ee7531f02f5c0d50a13b75%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.