mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
bpo-30500: Fix the NEWS entry (#2293)
splithost() expects an URL starting with "//" not with "http://".
This commit is contained in:
parent
3a7f03584a
commit
8457706ee3
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
- [Security] bpo-30500: Fix urllib.parse.splithost() to correctly parse
|
- [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``
|
correctly returns the ``127.0.0.1`` host, instead of treating ``@evil.com``
|
||||||
as the host in an authentification (``login@host``).
|
as the host in an authentification (``login@host``).
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue