URLParser: Check for invalid characters in the host
Created attachment 288974 [details] Patch
Comment on attachment 288974 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=288974&action=review > Source/WebCore/platform/URLParser.cpp:1579 > + if (isInvalidDomainCharacter(*iterator)) > + return false; > if (*iterator == ':') > break; The check for colon should come first. The first colon means we are starting to parse the port. This is covered by API tests.
http://trac.webkit.org/changeset/205988