.. original section: Library | |
Fix urllib.parse.splithost() to correctly parse 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``). |