-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(jwt): possible NPE in jwt:encode
refs #2 The implementation of `jwt:encode` with arrow expressions failed with an NPE. It does so only when called in a test case as part of an XQSuite. Since this module is considered security relevant code the functon was refactored to be extra sure this will work under all circumstances. If the underlying NPE of the XQuery runtime is fixed the implementation can use arrow expressions again.
- Loading branch information
Showing
3 changed files
with
22 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters