]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44690: Adopt binacii.a2b_base64's strict mode in base64.b64decode (GH-27272)
authorIdan Moral <idan22moral@gmail.com>
Mon, 23 Aug 2021 23:44:28 +0000 (02:44 +0300)
committerGitHub <noreply@github.com>
Mon, 23 Aug 2021 23:44:28 +0000 (16:44 -0700)
commitfa6304a5225787054067bb56089632146d288b20
tree8c4e7cb19d92863e5e30a33a0a59dab201647221
parente41912c6348362489d2514565a70782591f23902
bpo-44690: Adopt binacii.a2b_base64's strict mode in base64.b64decode (GH-27272)

* Use binascii.a2b_base64 to validate b64decode input.
   This change leads to exception messages changes (mostly).
* Added more information to docstring of b64decode
* Added a reference to binascii.a2b_base64 in the docs
Doc/library/base64.rst
Lib/base64.py
Misc/NEWS.d/next/Library/2021-07-20-22-03-24.bpo-44690.tV7Zjg.rst [new file with mode: 0644]