Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315715

Summary: Improve cookie version handling
Product: [RT] Jetty Reporter: Greg Wilkins <gregw>
Component: serverAssignee: Greg Wilkins <gregw>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jetty-inbox, simone.bordet
Version: 7.1.0   
Target Milestone: 7.0.2.RC0   
Hardware: All   
OS: All   
Whiteboard:

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