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

Handle some invalid JWTs #22

Merged
merged 2 commits into from
Aug 26, 2013
Merged

Handle some invalid JWTs #22

merged 2 commits into from
Aug 26, 2013

Conversation

steved
Copy link
Contributor

@steved steved commented Aug 26, 2013

Handles some invalid JWTs found in the wild and outputs a JWT::DecodeError instead of a NoMethodError.

  • If the header is nonexistent
  • If the header is valid, but the payload is nonexistent
  • If the crypto segment is empty

steved added 2 commits August 26, 2013 13:48
* If the header is nonexistent
* If the header is valid, but the payload is nonexistent
* If the crypto segment is empty
progrium added a commit that referenced this pull request Aug 26, 2013
@progrium progrium merged commit a419c70 into jwt:master Aug 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants