Skip to content

Fix base64url character replacement#1075

Open
samsamtrum wants to merge 1 commit into
LIT-Protocol:masterfrom
samsamtrum:fix-base64url-global-replacement
Open

Fix base64url character replacement#1075
samsamtrum wants to merge 1 commit into
LIT-Protocol:masterfrom
samsamtrum:fix-base64url-global-replacement

Conversation

@samsamtrum
Copy link
Copy Markdown

The base64url conversion helpers currently use single string replacements, so only the first +// or -/_ character is converted.

This switches those replacements to global regexes and adds a regression case where multiple base64url characters appear in the same string.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 31, 2026

CLA assistant check
All committers have signed the CLA.

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