Empty cookies cause HTTP_COOKIE parse failure for IE 5.0
Bug #142635 reported by
geoffd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
If you set a cookie to an empty value in IE 5.0, HTTP_COOKIE gets set as follows:
foo; bar="1";
In more recent versions of IE, HTTP_COOKIE is set as follows:
foo=; bar="1";
Because of this difference in IE 5.0's cookie formatting, the regular expression parmre in HTTPRequest.py, line 1426 fails, and as a result, REQUEST.cookies is not populated.
To post a comment you must log in.
I tested the regexp with the cookies you gave, and it seems this bug has long since been fixed. It would be nice if you (or somebody else) can confirm this, and we can close it.