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

Renamed SameSite.secure to .strict #609

Merged
merged 1 commit into from
Nov 16, 2024
Merged

Renamed SameSite.secure to .strict #609

merged 1 commit into from
Nov 16, 2024

Conversation

adam-fowler
Copy link
Member

Realised that secure is not a valid value for the SameSite parameter

@adam-fowler adam-fowler requested a review from Joannis as a code owner November 15, 2024 20:05
@thoven87
Copy link

Should a check be introduced where if same site is set to none secure must also set? That's how the standard defines Samesite? Or maybe, secure would be set automatically if same site is none.

@adam-fowler
Copy link
Member Author

I did think about that. I don't think setting secure automatically is a great idea as it will confuse. We are better failing building the cookie or we could add an assert.

@adam-fowler adam-fowler merged commit 6d6ea65 into main Nov 16, 2024
6 of 7 checks passed
@adam-fowler adam-fowler deleted the strict-cookie branch November 16, 2024 10:29
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.

3 participants