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 serhiy.storchaka
Recipients ezio.melotti, lemburg, loewis, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2015-10-08.15:55:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The difference between 2.7 and 3.x is that 2.7 uses isalnum() in IS_BASE64, and 3.x test concrete ranges. Therefore depending on platform and locale 2.7 can accept wrong bytes as BASE64 characters and return incorrect result. Following patch makes 2.7 code the same as 3.x. Tests are changed to fail with large probability with unpatched code ('\xe1' is an alnum on almost all 8-bit locales).
Date User Action Args
2015-10-08 15:56:00serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, loewis, pitrou, vstinner, ezio.melotti, python-dev
2015-10-08 15:56:00serhiy.storchakasetmessageid: <>
2015-10-08 15:56:00serhiy.storchakalinkissue24848 messages
2015-10-08 15:56:00serhiy.storchakacreate