bpo-30500: Fix the NEWS entry (#2296)

splithost() expects an URL starting with "//" not with "http://".
This commit is contained in:
Victor Stinner 2017-06-20 16:09:06 +02:00 committed by GitHub
parent 536c1f1246
commit 82acabd3c5

View file

@ -14,7 +14,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``).