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 CSRF protection to internal requests #474

Merged
merged 4 commits into from Sep 15, 2020

Conversation

RobinDaugherty
Copy link
Member

Better Errors accepts requests from its own Javascript components in order to provide variables and evaluate console commands. These are now protected by a CSRF token that's set as a cookie when the error page is rendered.

and refactor the specs to be more clear.
@RobinDaugherty RobinDaugherty merged commit 8e8e796 into master Sep 15, 2020
@RobinDaugherty RobinDaugherty deleted the feature/add-csrf-to-requests branch September 15, 2020 17:18
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

1 participant