fix(csrf): exempt OPTIONS request from CSRF validation (#5250)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* fix(csrf): exempt OPTIONS request from CSRF validation * test(csrf): add regression test for CORS middleware ordering * test(csrf): refactor test names to be more accurate * test(csrf): remove integration test
authored by John Emerson Requizo · committed by GitHub · parent a194628 · Browse files · 2 files+11 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+11 added−1 removed
- tests:+10 added−0 removed
- other:+1 added−1 removed