Skip to content

Conversation

@lmartorella
Copy link

Hi Ralf,
I've encountered some web server implementation (Jetty) that uses cookie value semicolon (;) character separators without the additional space you require for argument split.
I've tried to understand if the whitespace is actually part of the RFC but it seems that it is allowed and often used for readibility reason.
With this change it is possible to correctly parse the classic JSESSION cookies coming from Jetty. I hope this can be merged without issues.

Thank you!
Luciano

Ref. http://tools.ietf.org/html/rfc6265

@bengesoff
Copy link

See #5, this takes into account both forms of cookie (with and without spaces).

@lmartorella
Copy link
Author

Great, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants