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

Fix csrf 400 status lines #3742

Merged
merged 3 commits into from
Jan 29, 2024
Merged

Fix csrf 400 status lines #3742

merged 3 commits into from
Jan 29, 2024

Conversation

mmerickel
Copy link
Member

BadCSRFToken and BadCSRFOrigin were previously returning things like 400 Bad CSRF Origin instead of 400 Bad Request. This PR moves the details to the body instead of the HTTP status line.

mmerickel added a commit that referenced this pull request Jan 29, 2024
@mmerickel mmerickel merged commit e77b72d into main Jan 29, 2024
32 checks passed
@mmerickel mmerickel deleted the fix-csrf-400-status branch January 29, 2024 05:57
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.

1 participant