Empty cookies cause HTTP_COOKIE parse failure for IE 5.0

Bug #142635 reported by geoffd
2
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.

Tags: bug deferred zope
Revision history for this message
Lennart Regebro (regebro-gmail) wrote :

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.

Revision history for this message
ChrisW (chris-simplistix) wrote :

Status: Pending => Deferred

Long time with no followup, this will get marked as resolved, particularly in light of http://zope.org/Collectors/Zope/1498, if there's no feedback within a month.

Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.