[Webkit-unassigned] [Bug 182427] Add a way to check if a host is an IP address

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 5 00:43:56 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=182427

--- Comment #16 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Alexey Proskuryakov from comment #13)
> I think that it's also the Apple Windows port.
> 
> Mac does seem right.
> 
> Is the glib implementation even right? It doesn't seem like it recognizes
> "0x7f000001" as in "http://0x7f000001:8000/".
> 
> Either way, these abominations need to be added to the test. Perhaps a
> separate "extra bonus" test if we don't intend to fix the deficiencies in
> all ports right away.

Maybe we can simply reuse what we have in URLParser and we don't need any platform specific code. Or we could combine both, since URLParser serializes the IP addresses, we could simply create a URL for the given doamin, and pass the parsed host as input of the platform specific entry point.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180205/c5e6fac4/attachment.html>


More information about the webkit-unassigned mailing list