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

Add xsrf token header if cookie is present #11034

Merged
merged 1 commit into from Jul 11, 2018
Merged

Add xsrf token header if cookie is present #11034

merged 1 commit into from Jul 11, 2018

Conversation

elmot
Copy link
Contributor

@elmot elmot commented Jul 10, 2018

Fixes #9471


This change is Reviewable

Copy link
Contributor

@mehdi-vaadin mehdi-vaadin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it may be a good idea for the framework to check the XSRF header token in server-side like it checks CSRF already.

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @tsuoanttila)

@elmot elmot merged commit ceb9593 into master Jul 11, 2018
@elmot elmot deleted the xsrf-cookie branch July 11, 2018 10:24
elmot pushed a commit that referenced this pull request Jul 11, 2018
@elmot elmot removed the pick to 7 label Jul 11, 2018
mehdi-vaadin pushed a commit that referenced this pull request Jul 13, 2018
mehdi-vaadin pushed a commit that referenced this pull request Jul 13, 2018
@mehdi-vaadin mehdi-vaadin added this to the 8.5.0 milestone Jul 16, 2018
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.

None yet

4 participants