]> granicus.if.org Git - python/commitdiff
bpo-30500: Fix the NEWS entry (#2295)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 20 Jun 2017 14:09:06 +0000 (16:09 +0200)
committerGitHub <noreply@github.com>
Tue, 20 Jun 2017 14:09:06 +0000 (16:09 +0200)
splithost() expects an URL starting with "//" not with "http://".

Misc/NEWS

index f839ad41287d99675a8f009988e695cf7e8c7c66..9278c69c2e6d2e02d70d2c557f5de242b9ccda98 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -60,7 +60,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``).