summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-06-20 14:09:06 (GMT)
committerGitHub <noreply@github.com>2017-06-20 14:09:06 (GMT)
commit410860662f53945cddf5886801c5a88a84801fec (patch)
treef3844be077ddf64e9f8af1c545f39f52d41b4928
parent4899d847ed3f56b2a712799f896aa1f28540a5c0 (diff)
downloadcpython-410860662f53945cddf5886801c5a88a84801fec.zip
cpython-410860662f53945cddf5886801c5a88a84801fec.tar.gz
cpython-410860662f53945cddf5886801c5a88a84801fec.tar.bz2
bpo-30500: Fix the NEWS entry (#2295)
splithost() expects an URL starting with "//" not with "http://".
-rw-r--r--Misc/NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f839ad4..9278c69 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -60,7 +60,7 @@ Library
-------
- [Security] bpo-30500: Fix urllib.parse.splithost() to correctly parse
- fragments. For example, ``splithost('http://127.0.0.1#@evil.com/')`` now
+ fragments. For example, ``splithost('//127.0.0.1#@evil.com/')`` now
correctly returns the ``127.0.0.1`` host, instead of treating ``@evil.com``
as the host in an authentification (``login@host``).