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

Improve JWT RegExp #236

Merged
2 commits merged into from Dec 3, 2021
Merged

Improve JWT RegExp #236

2 commits merged into from Dec 3, 2021

Commits on Dec 3, 2021

  1. Improve JWT RegExp bee-san#211

    - add new RegExp for JWT that check header and payload length and prefix
      `eyJ` and `e`
    - add valid/invalid examples
    - This idea comes from observing that the minimum length of each parts of JWT is 20, 3, 43, respectively
    ```
    Header
    {"alg":"HS256"}
    Payload
    {}
    ```
    -
    nodtem66 committed Dec 3, 2021
    Copy the full SHA
    93d31d5 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into patch-211

    piatrashkakanstantinass committed Dec 3, 2021
    Copy the full SHA
    6cc0765 View commit details
    Browse the repository at this point in the history