diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-06-20 14:09:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-20 14:09:06 (GMT) |
commit | 410860662f53945cddf5886801c5a88a84801fec (patch) | |
tree | f3844be077ddf64e9f8af1c545f39f52d41b4928 | |
parent | 4899d847ed3f56b2a712799f896aa1f28540a5c0 (diff) | |
download | cpython-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/NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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``). |