Issue Details (XML | Word | Printable)

Key: LEP-5175
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: SE Support
Reporter: Brian Chan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
INTERNAL - Old Liferay Portal (Use Liferay Portal Standard Edition)

Cookies behave differently between Tomcat 5.5.25 and Tomcat 5.5.26

Created: 21/Feb/08 10:39 AM   Updated: 21/Feb/08 01:36 PM
Component/s: None
Affects Version/s: 4.4.2
Fix Version/s: 4.4.2, 5.0.0

Time Tracking:
Not Specified



 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Brian Chan added a comment - 21/Feb/08 01:36 PM
Actually, setting it to version 1 broke IE 7 (works fine in FF).

So the workaround now is to user the older version 0 that works better for IE, but we now hex encode certain cookies that contain characters that version 0 does not allow.

See http://aspn.activestate.com/ASPN/CodeDoc/libservlet/Servlet/Http/Cookie.html

Especially the quote:

"With version 0 cookies, values should not contain white space, brackets, parentheses, equals signs, commas, double quotes, slashes, question marks, at signs, colons and semicolons. The behavior of clients in response to empty values is undefined."