Skip to content

fix: the jwt plugin does not handle the case where exp is empty. (#…#2657

Merged
membphis merged 5 commits into
apache:masterfrom
tzssangglass:IssuesNo2649
Nov 9, 2020
Merged

fix: the jwt plugin does not handle the case where exp is empty. (#…#2657
membphis merged 5 commits into
apache:masterfrom
tzssangglass:IssuesNo2649

Conversation

@tzssangglass

Copy link
Copy Markdown
Member

…2649)

fix #2649

What this PR does / why we need it:

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible?

@membphis membphis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing test case

@membphis

membphis commented Nov 8, 2020

Copy link
Copy Markdown
Member

please update the test case

@tzssangglass

Copy link
Copy Markdown
Member Author

ok

Comment thread apisix/plugins/jwt-auth.lua
Comment thread t/plugin/jwt-auth.t
Comment thread t/plugin/jwt-auth.t Outdated
@membphis
membphis merged commit 53a8f5a into apache:master Nov 9, 2020
@tzssangglass
tzssangglass deleted the IssuesNo2649 branch November 9, 2020 16:56
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.

bug: The jwt plugin does not handle the case where exp is empty

4 participants