-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Cookie class and other specifications for RFC 6265 #37
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented There is a clear unwillingness on the part of some browser vendors to adhere to the cookie specifications and no sign of this being a something that causes users to migrate to a more standards compliant browser. I don't particularly like the situation that has lead to RFC 6265 (I would have preferred to see user demand driving browser compliance but that hasn't happened) but RFC 6265 is probably the best option since it is closer to what is actually happening than anything else. That said, I suspect container vendors will still need to add additional options to bypass some checks. |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
In summary: - setVersion() is NO-OP, getVersion() is hard-coded to 0 - Restrictions on cookie name relaxed to 'must be non-null, non-empty token'
In summary: - setVersion() is NO-OP, getVersion() is hard-coded to 0 - Restrictions on cookie name relaxed to 'must be non-null, non-empty token'
In summary: - setVersion() is NO-OP, getVersion() is hard-coded to 0 - Restrictions on cookie name relaxed to 'must be non-null, non-empty token'
Currently the Cookie class defaults to supporting RFC 2019 cookies.
RFC2019 was obsoleted by RFC2965 in 2000, which in turn was obsoleted by RFC6265 in 2011
The latest RFC appears to be well supported by browsers (eg Google cookies often contain commas which are not allowed by 2019, but are by 6265).
The text was updated successfully, but these errors were encountered: