This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pw.michael.harris
Recipients pw.michael.harris
Date 2018-09-28.12:20:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538137213.36.0.545547206417.issue34832@psf.upfronthosting.co.za>
In-reply-to
Content
When given an invalid base64 string that starts with a valid base64 substring, the functions will return the decoded bytes only up to the substring rather then ignoring the non-alphabet character.

Examples:
>>> base64.b64decode("AAAAAAAA")
b'\x00\x00\x00\x00\x00\x00'
>>> base64.b64decode("AA=AAAAAA")
b'\x00\x00\x00\x00\x00\x00'
>>> base64.b64decode("AAA=AAAAA")
b'\x00\x00'
History
Date User Action Args
2018-09-28 12:20:13pw.michael.harrissetrecipients: + pw.michael.harris
2018-09-28 12:20:13pw.michael.harrissetmessageid: <1538137213.36.0.545547206417.issue34832@psf.upfronthosting.co.za>
2018-09-28 12:20:13pw.michael.harrislinkissue34832 messages
2018-09-28 12:20:13pw.michael.harriscreate