Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Security] Do not try to clear CSRF on stateless request #58082

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

Closed
wants to merge 3 commits into from

Conversation

Seb33300
Copy link
Contributor

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

This was my original proposal to #54742

I still think checking the _stateless attribute is a good compromise for this use case.

And I can find similar check in few other places:

image

@nicolas-grekas
Copy link
Member

Those other use cases are very different, they're purely informational.

@nicolas-grekas
Copy link
Member

Can you please try #58104 and see if this solves your use case and what you think about it?

@nicolas-grekas
Copy link
Member

Let me close as we ruled this approach out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants