-
Notifications
You must be signed in to change notification settings - Fork 166
Closed as not planned
Labels
Description
Hello,
In draft-10 section 4.1.1 we see:
cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
/ %x80-FF
; octets excluding CTLs,
; whitespace DQUOTE, comma, semicolon,
; and backslash
This means that space, comma and double-quotes for example are invalid contents in cookie values and names. Why?
In RFC 6265 the same section says:
cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
; US-ASCII characters excluding CTLs,
; whitespace DQUOTE, comma, semicolon,
; and backslash
(the difference is %x80-FF which now is explicitly allowed)
Firefox does not ignore all those and claims "parity with Chrome" on this.
If we ignore such cookies, we break compatibility with two major browsers. If we don't, we don't follow the spec.
Reactions are currently unavailable