-
Notifications
You must be signed in to change notification settings - Fork 590
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add test that asserts an InvalidCSRFTokenError error is raised when the CSRF token payload is not a Base64 encoded string. * Add test that refutes Plug.CSRFProtection.valid_state_and_csrf_token?/2 returns a truthy value when given a CSRF token that is not Base64 encoded.
- Loading branch information
1 parent
58a6bff
commit 9fa2923
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters