Skip to content

Commit 4108606

Browse files
authored
bpo-30500: Fix the NEWS entry (#2295)
splithost() expects an URL starting with "//" not with "http://".
1 parent 4899d84 commit 4108606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Misc/NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Library
6060
-------
6161

6262
- [Security] bpo-30500: Fix urllib.parse.splithost() to correctly parse
63-
fragments. For example, ``splithost('http://127.0.0.1#@evil.com/')`` now
63+
fragments. For example, ``splithost('//127.0.0.1#@evil.com/')`` now
6464
correctly returns the ``127.0.0.1`` host, instead of treating ``@evil.com``
6565
as the host in an authentification (``login@host``).
6666

0 commit comments

Comments
 (0)