…rings (pythonGH-7583) When attempting to base64-decode a payload of invalid length (1 mod 4), properly recognize and handle it. The given data will be returned as-is, i.e. not decoded, along with a new defect, InvalidBase64LengthDefect. (cherry picked from commit c3f55be) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
|
@taleinat: Backport status check is done, and it's a success ✅ . |
|
Thanks, @taleinat! |
When attempting to base64-decode a payload of invalid length (1 mod 4),
properly recognize and handle it. The given data will be returned as-is,
i.e. not decoded, along with a new defect, InvalidBase64LengthDefect.
(cherry picked from commit c3f55be)
Co-authored-by: Tal Einat taleinat+github@gmail.com
https://bugs.python.org/issue27397