Closed Altai-man closed 2 years ago
The cookie values are allowed to be wrapped in doublequotes, not in parentheses, d'uh.
See https://www.rfc-editor.org/rfc/pdfrfc/rfc6265.txt.pdf The rule looks like:
cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )
Looks fine, but a test to cover this would be a good idea too.
The cookie values are allowed to be wrapped in doublequotes, not in parentheses, d'uh.
See https://www.rfc-editor.org/rfc/pdfrfc/rfc6265.txt.pdf The rule looks like: