[3.14] gh-145264: Do not ignore excess Base64 data after the first padded quad (GH-145267) (GH-146326)
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. (cherry picked from commit 4561f6418a691b3e89aef0901f53fe0dfb7f7c0e)
S
Serhiy Storchaka committed
e31c55121620189a0d1a07b689762d8ca9c1b7fa
Parent: 9669a91
Committed by GitHub <noreply@github.com>
on 3/23/2026, 11:20:26 PM