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

CSRF Protection - also check the header #61

Open
adamsch1 opened this issue Feb 19, 2013 · 1 comment
Open

CSRF Protection - also check the header #61

adamsch1 opened this issue Feb 19, 2013 · 1 comment

Comments

@adamsch1
Copy link

Hi -

I was reading the CSRF guard code. Would the authors be opposed to also checking for the csrf key/value set in a X header like X-CSRF-Token ?? It's easier in come scenarios [AngularJS] to use the header.

if there is interest I will submit a patch

@silentworks
Copy link
Collaborator

Yes please, send your pull request to develop branch.

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

No branches or pull requests

2 participants