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

Fix unicode payload signing #63

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Fix unicode payload signing #63

merged 1 commit into from
Jan 18, 2024

Conversation

dlackty
Copy link
Contributor

@dlackty dlackty commented Jan 7, 2024

In the recent version of cloudflare-worker-jwt (specifically, after commit 6b3192b), if we encode payload with any Unicode character, it will throw InvalidCharacterError: Invalid character.

@tsndr tsndr merged commit 11afa8e into tsndr:main Jan 18, 2024
@tsndr
Copy link
Owner

tsndr commented Jan 18, 2024

Than you for your help with this :)

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