id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 24492,Bug in BaseCookie load can result in cookies not being set,Mark Hughes,Tim Graham,"A bug with the Python cookie library means that cookies with square brackets (and all subsequent cookies) are ignored. http://bugs.python.org/issue22931 As far as I can tell this effects 2.7.9 and 3.4+ In our case some users had a s_vi cookie which appears to come from Adobe Site Catalyst. As this cookie contains square brackets, the Django sessionid which appeared later in the cookie string was being ignored and the user was unable to login. Here's a simple test case. {{{ >>> from django.http.cookie import SimpleCookie >>> dd = SimpleCookie() >>> dd.load('a=b; c=[; d=r') >>> dd.output() 'Set-Cookie: a=b' }}} Should we try and code around this in `http/cookie.py` where other standard library issues are handled? ",Bug,closed,HTTP handling,1.7,Normal,wontfix,,,Accepted,0,0,0,0,0,0