commit | 35b98e38b6edd63153fc8e092f94cb20725dacc1 | [log] [tgz] |
---|---|---|
author | Idan Moral <idan22moral@gmail.com> | Mon Jul 19 03:45:19 2021 +0300 |
committer | GitHub <noreply@github.com> | Sun Jul 18 17:45:19 2021 -0700 |
tree | 0075d1bd3b9f195c5bd60553f9adcb5ef72a6fa1 | |
parent | b494685b2548489efcc66993cc6c13b027ce3b26 [diff] |
bpo-43086: Add handling for out-of-spec data in a2b_base64 (GH-24402) binascii.a2b_base64 gains a strict_mode= parameter. When enabled it will raise an error on input that deviates from the base64 spec in any way. The default remains False for backward compatibility. Code reviews and minor tweaks by: Gregory P. Smith <greg@krypto.org> [Google]