summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2020-01-05 12:15:50 (GMT)
committerGitHub <noreply@github.com>2020-01-05 12:15:50 (GMT)
commitb19c0d77e6f25ea831ab608c71f15d0d9266c8c4 (patch)
tree42f6ede3be2365c767fd15a0faf4baa3f9a82f11 /Misc/NEWS.d
parent41ec17e45d54473d32f543396293256f1581e44d (diff)
downloadcpython-b19c0d77e6f25ea831ab608c71f15d0d9266c8c4.zip
cpython-b19c0d77e6f25ea831ab608c71f15d0d9266c8c4.tar.gz
cpython-b19c0d77e6f25ea831ab608c71f15d0d9266c8c4.tar.bz2
bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. (GH-17616)
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 0000000..83b1431
--- /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``.