fix(jwt): validate token format in decode and decodeHeader functions (#4752)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* fix(jwt): validate token format in decode and decodeHeader functions * refactor: simplify the code ---------
authored by otoneko. · committed by GitHub · parent 0f49915 · Browse files · 2 files+56 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
Diff stats
2 files+56 added−5 removed
- tests:+45 added−0 removed
- other:+11 added−5 removed