[issue1466065] base64 module ignores non-alphabet characters

Neil Tallim report at bugs.python.org
Wed Jul 29 21:36:56 CEST 2009


Neil Tallim <red.hamsterx at gmail.com> added the comment:

Attached a documentation/unit-test/solution patch that adds a
validate=False parameter to the b64decode function of Lib/base64.py,
which may be set to True to have invalid base64 content be rejected with
a TypeError.

Patch built against Python 3.2, r74261.

----------
Added file: http://bugs.python.org/file14600/1466065[3.2-complete].diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1466065>
_______________________________________


More information about the Python-bugs-list mailing list