SIGN IN SIGN UP

gh-145264: Do not ignore excess Base64 data after the first padded quad (GH-145267)

Base64 decoder (see binascii.a2b_base64(), base64.b64decode(), etc)
no longer ignores excess data after the first padded quad in non-strict
(default) mode.  Instead, in conformance with RFC 4648, it ignores the
pad character, "=", if it is present before the end of the encoded data.
S
Serhiy Storchaka committed
4561f6418a691b3e89aef0901f53fe0dfb7f7c0e
Parent: ae6adc9
Committed by GitHub <noreply@github.com> on 3/22/2026, 9:12:58 PM