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

Base64 decode fails when presented with Base64Url encoded string #329

Open
jbohanon opened this issue Apr 19, 2024 · 0 comments
Open

Base64 decode fails when presented with Base64Url encoded string #329

jbohanon opened this issue Apr 19, 2024 · 0 comments

Comments

@jbohanon
Copy link
Contributor

JWTs and other usages use a modified character set from the standard base64. This variant is called base64url. When our Transformation filter is presented with a base64url encoded string to the base64_decode inja callback, the transformation fails silently because the decode returned an empty string.

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

No branches or pull requests

1 participant