-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
gh-125346: Add more base64 tests #141061
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
gh-125346: Add more base64 tests #141061
Conversation
Add more tests for the altchars argument of b64decode() and for the map01 argument of b32decode().
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
The "+" and "/" characters are no longer recognized as the part of the Base64 alphabet in base64.urlsafe_b64decode() and base64.b64decode() the altchars argument that does not contain them.
Add more tests for the altchars argument of b64decode() and for the map01 argument of b32decode(). (cherry picked from commit 13360ef) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-141130 is a backport of this pull request to the 3.14 branch. |
…onGH-141130) (cherry picked from commit fd17ee0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Add more tests for the altchars argument of b64decode() and for the map01 argument of b32decode(). (cherry picked from commit 13360ef)
Add more tests for the altchars argument of b64decode() and for the map01 argument of b32decode().