From 0af9a3d080d532fb8c53a1e9a037d1fcf6e66f10 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Sat, 11 Jul 2015 21:29:28 +0200 Subject: [PATCH] Fix IPv4 test per https://github.com/jsdom/whatwg-url/issues/9#issuecomment-120409813 --- url/urltestdata.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/url/urltestdata.txt b/url/urltestdata.txt index fe7a5baa11277e..1e0fe4901953c6 100644 --- a/url/urltestdata.txt +++ b/url/urltestdata.txt @@ -319,9 +319,8 @@ http://%25 http://hello%00 # Escaped numbers should be treated like IP addresses if they are. -# No special handling for IPv4 or IPv4-like URLs -http://%30%78%63%30%2e%30%32%35%30.01 s:http p:/ h:192.168.0.1 -http://%30%78%63%30%2e%30%32%35%30.01%2e s:http p:/ h:0xc0.0250.01. +http://%30%78%63%30%2e%30%32%35%30.01 s:http h:192.168.0.1 p:/ +http://%30%78%63%30%2e%30%32%35%30.01%2e s:http h:192.168.0.1 p:/ http://192.168.0.257 # Invalid escaping should trigger the regular host error handling.