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

Add URL safe transform.{En,De}codeBase64 variants #257

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

terrorbyte
Copy link
Collaborator

Adds EncodeBase64URL and DecodeBase64URL to the transform package. Multiple times now we've run into situations where the URL variant is necessary or the target encoder/decoder is more flexible and allows either. This replaces a few silly collections of strings.ReplaceAll for the other variants.

Adds `EncodeBase64URL` and `DecodeBase64URL` to the transform package.
Multiple times now we've run into situations where the URL variant is
necessary or the target encoder/decoder is more flexible and allows
either. This replaces a few silly collections of strings.ReplaceAll for
the other variants.
@terrorbyte terrorbyte added documentation Improvements or additions to documentation enhancement New feature or request labels Oct 15, 2024
@terrorbyte terrorbyte requested a review from j-baines October 15, 2024 21:06
@terrorbyte terrorbyte self-assigned this Oct 15, 2024
@terrorbyte terrorbyte changed the title Add URL safe 'transform.{En,De}codeBase64` variants Add URL safe transform.{En,De}codeBase64 variants Oct 15, 2024
@j-baines j-baines merged commit dc85a28 into main Oct 16, 2024
3 checks passed
@j-baines j-baines deleted the tranform/urlsafe-base64 branch October 16, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants