Skip to content

Commit 8457706

Browse files
authored
bpo-30500: Fix the NEWS entry (#2293)
splithost() expects an URL starting with "//" not with "http://".
1 parent 3a7f035 commit 8457706

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
@@ -369,7 +369,7 @@ Library
369369
-------
370370

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

0 commit comments

Comments
 (0)