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

✨[RUMF-594] specify same site attribute on cookies #431

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

bcaudan
Copy link
Contributor

@bcaudan bcaudan commented Jun 24, 2020

Motivation

Firefox has started to display a warning for all used cookies that don't specify a same site attribute.
Let's specify one to get rid of it.
fixes #430

Changes

Specify samesite=strict on all our cookies updates, we don't need to pass cookies to server requests, so let's use the more restrictive option.
cf https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie#Write_a_new_cookie

Testing

Tested in dev, warning has disappeared in firefox.


I have gone over the contributing documentation.

@bcaudan bcaudan requested a review from a team as a code owner June 24, 2020 09:17
@bcaudan bcaudan merged commit bb26c74 into master Jun 24, 2020
@bcaudan bcaudan deleted the bcaudan/same-site branch June 24, 2020 13:57
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.

Cookies does not have SameSite attribute
2 participants