summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2019-05-01 20:39:21 (GMT)
committerGitHub <noreply@github.com>2019-05-01 20:39:21 (GMT)
commitb7378d77289c911ca6a0c0afaf513879002df7d5 (patch)
tree1102bd7d38307fbaf3d32ee3299ee43a1a64b775 /Misc/NEWS.d
parente1d5dd645d5f59867cb0ad63179110f310cbca89 (diff)
downloadcpython-b7378d77289c911ca6a0c0afaf513879002df7d5.zip
cpython-b7378d77289c911ca6a0c0afaf513879002df7d5.tar.gz
cpython-b7378d77289c911ca6a0c0afaf513879002df7d5.tar.bz2
bpo-30458: Use InvalidURL instead of ValueError. (GH-13044)
Use http.client.InvalidURL instead of ValueError as the new error case's exception.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Security/2019-04-10-08-53-30.bpo-30458.51E-DA.rst (renamed from Misc/NEWS.d/next/Security/2019-04-10-08-53-30.bpo-36276.51E-DA.rst)2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Security/2019-04-10-08-53-30.bpo-36276.51E-DA.rst b/Misc/NEWS.d/next/Security/2019-04-10-08-53-30.bpo-30458.51E-DA.rst
index 4fed4d5..ed8027f 100644
--- a/Misc/NEWS.d/next/Security/2019-04-10-08-53-30.bpo-36276.51E-DA.rst
+++ b/Misc/NEWS.d/next/Security/2019-04-10-08-53-30.bpo-30458.51E-DA.rst
@@ -1 +1 @@
-Address CVE-2019-9740 by disallowing URL paths with embedded whitespace or control characters through into the underlying http client request. Such potentially malicious header injection URLs now cause a ValueError to be raised. \ No newline at end of file
+Address CVE-2019-9740 by disallowing URL paths with embedded whitespace or control characters through into the underlying http client request. Such potentially malicious header injection URLs now cause an http.client.InvalidURL exception to be raised.