commit | c3f55be7dd012b7e92901627d0b31c21e983ccb4 | [log] [tgz] |
---|---|---|
author | Tal Einat <taleinat+github@gmail.com> | Tue Jun 12 15:46:22 2018 +0300 |
committer | GitHub <noreply@github.com> | Tue Jun 12 15:46:22 2018 +0300 |
tree | 86fb2e7e33615aee453d73f27063a4ec345e89fa | |
parent | 5a9820918077a65db90f24733edc8935c3e2130e [diff] |
bpo-27397: Make email module properly handle invalid-length base64 strings (#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.