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 tests for csrf-protection with http header X-CSRF-TOKEN #1661

merged 1 commit into from Apr 19, 2014


None yet
2 participants

cookiebody commented Apr 19, 2014

Some javascript framework, such as angularjs, use custom HTTP header to pass csrf-token in ajax requests,
and rack-protection could validate csrf-token with http header named X-CSRF-TOKEN.
Padrino should have tests for that feature.


This comment has been minimized.

Show comment
Hide comment

namusyaka Apr 19, 2014


@cookiebody You're right. Thank you!


namusyaka commented Apr 19, 2014

@cookiebody You're right. Thank you!

namusyaka added a commit that referenced this pull request Apr 19, 2014

Merge pull request #1661 from cookiebody/master
add tests for csrf-protection with http header X-CSRF-TOKEN

@namusyaka namusyaka merged commit 64a887f into padrino:master Apr 19, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment