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 Plug.CSRFProtection tests #1233

Merged

Commits on Jun 24, 2024

  1. Add Plug.CSRFProtection tests

    * 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.
    thymusvulgaris committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    9fa2923 View commit details
    Browse the repository at this point in the history