Message216690
So, in addition to "+/" and "-_" there are quite a few base64 variants. Worst thing: there are the two ambigious variants "-_" and "_-", even though "_-" supposedly is "non-standard" for its use.
See http://en.wikipedia.org/wiki/Base64
The shortest fix I can see would be to not use binascii directly from the email module but go through the base64 module (as pointed out by the blogpost) and call the urlsafe version. That should catch both cases.
Preparing a patch right now. |
|
Date |
User |
Action |
Args |
2014-04-17 14:31:55 | ctheune | set | recipients:
+ ctheune, guettli, amaury.forgeotdarc, r.david.murray, pconnell |
2014-04-17 14:31:55 | ctheune | set | messageid: <1397745115.3.0.650120393767.issue12489@psf.upfronthosting.co.za> |
2014-04-17 14:31:55 | ctheune | link | issue12489 messages |
2014-04-17 14:31:55 | ctheune | create | |
|