[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
Fri Feb 2 12:10:02 PST 2018


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

--- Comment #11 from Alexey Proskuryakov <ap at webkit.org> ---
Comment on attachment 332963
  --> https://bugs.webkit.org/attachment.cgi?id=332963
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=332963&action=review

> Tools/ChangeLog:10
> +        * TestWebKitAPI/Tests/WebCore/URL.cpp:

There are more IP address formats than tested here, see e.g. Address Representations at https://en.m.wikipedia.org/wiki/IPv4

I think that it’s ok to make an incremental improvement, but I’m concerned that this quite incomplete check may be used for something important.

-- 
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/20180202/907b67d8/attachment.html>


More information about the webkit-unassigned mailing list