http-extensions
http-extensions copied to clipboard
RFC6265bis: Prevent nameless cookies with prefixed values
Modify the cookie storage algorithm to reject cookies that:
- Do not have a name
- Have values that look like cookie prefixes
As mentioned in #2229, malicious servers can exploit nameless cookies to impersonate prefix'd cookies.
Do we have tests for this behavior in WPT?
Good question, no not yet. I'll add some.
Done
Ping @mikewest