summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-01-05 04:36:48 -0800
committerGitHub <noreply@github.com>2020-01-05 04:36:48 -0800
commit34aa3e71dc52c1a31336302905b9ac011a310412 (patch)
treeb1bcaedb27ed93adc5998c4bf62ebeb1e152cf1c /Misc/NEWS.d
parente1caa49f68dd63b534774aebad0c240143e6fb5d (diff)
downloadcpython-git-34aa3e71dc52c1a31336302905b9ac011a310412.tar.gz
bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616)
(cherry picked from commit b19c0d77e6f25ea831ab608c71f15d0d9266c8c4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2019-12-15-19-23-23.bpo-39055.FmN3un.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-12-15-19-23-23.bpo-39055.FmN3un.rst b/Misc/NEWS.d/next/Library/2019-12-15-19-23-23.bpo-39055.FmN3un.rst
new file mode 100644
index 0000000000..83b1431e92
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-12-15-19-23-23.bpo-39055.FmN3un.rst
@@ -0,0 +1,2 @@
+:func:`base64.b64decode` with ``validate=True`` raises now a binascii.Error
+if the input ends with a single ``\n``.