[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
Tue Feb 6 10:35:07 PST 2018


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

--- Comment #30 from Alexey Proskuryakov <ap at webkit.org> ---
> Our URLParser doesn't accept that one either.

This is an interesting observation, but I do not think that matching URLParser is what we are after here, at least not directly.

The new function added here just takes a String, so it doesn't have any pre-requisites, like the string being a normalized URL. There are certainly input paths into WebKit where we rely on external components more, such as when taking the initial request from the client, or when handling a redirect. All of these need to be vetted if/when we decide that we don't want to match inet_pton.

-- 
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/20180206/00914f8c/attachment.html>


More information about the webkit-unassigned mailing list