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]
I
Idan Moral committed
35b98e38b6edd63153fc8e092f94cb20725dacc1
Parent: b494685
Committed by GitHub <noreply@github.com>
on 7/19/2021, 12:45:19 AM