[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public

Conversation

Copy link
Contributor

miss-islington commented Jun 12, 2018

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

…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>
Copy link
Contributor Author

@taleinat: Backport status check is done, and it's a success ✅ .

taleinat merged commit 7b82281 into python:3.7 Jun 12, 2018
Copy link
Contributor Author

Thanks, @taleinat!

miss-islington deleted the backport-c3f55be-3.7 branch June 12, 2018 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants