Message252549
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:00 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, loewis, pitrou, vstinner, ezio.melotti, python-dev |
2015-10-08 15:56:00 | serhiy.storchaka | set | messageid: <1444319760.22.0.608534188949.issue24848@psf.upfronthosting.co.za> |
2015-10-08 15:56:00 | serhiy.storchaka | link | issue24848 messages |
2015-10-08 15:56:00 | serhiy.storchaka | create | |
|