History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

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

If you were logged in you would be able to see more operations.
Liferay Portal

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

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order:
Brian Chan - 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."