Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315715 - Improve cookie version handling
Summary: Improve cookie version handling
Status: CLOSED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 7.0.2.RC0   Edit
Assignee: Greg Wilkins CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 00:57 EDT by Greg Wilkins CLA
Modified: 2011-09-20 15:52 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Wilkins CLA 2010-06-04 00:57:57 EDT
If a cookie value is quoted, then the version should be forced to 1.
The server should also have a maximum cookie value, so that only unquoted cookies may be sent.
expire params should always be sent because max-age is not always understood.
Comment 1 Greg Wilkins CLA 2010-06-04 01:00:10 EDT
HttpFields has been modified to take a maxCookieVersion constructor argument.
This is set for response fields from Server@getMaxCookieVersion 

If the max cookie version is 0, then cookies will never be quoted.
Comment 2 Greg Wilkins CLA 2010-06-04 03:39:55 EDT
committed
Comment 3 Jesse McConnell CLA 2011-09-20 15:52:20 EDT
Resolved -> Closed