Skip to content
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

3.1 and 3.2 disagree with 4.1 #11

Closed
mikewest opened this issue Apr 17, 2016 · 0 comments
Closed

3.1 and 3.2 disagree with 4.1 #11

mikewest opened this issue Apr 17, 2016 · 0 comments

Comments

@mikewest
Copy link
Owner

@jeremy's comment in rack/rack#1051:

Draft 7 is a little confusing now. It allows SameSite with no attribute value in 3.1 and says that cookies with an invalid SameSite value should be treated as Strict in 3.2, yet 4.1 makes it clear that User Agents must ignore cookies with a SameSite attribute whose value is not Strict or Lax.

3.1

samesite-av = "SameSite" / "SameSite=" samesite-value

3.2

If the "SameSite" attribute's value is "Strict", or if the value is invalid, the cookie will only be sent along with "same-site" requests.

4.1

If "cookie-av"'s "attribute-value" is not a case-sensitive match for "Strict" or "Lax", ignore the "cookie-av".

The text in 4.1 is correct, and I should audit the rest of the doc to make sure the change is clear.

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

No branches or pull requests

1 participant