Summary: | URLParser should correctly strip unnecessary 0's in IPv6 addresses | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||
Component: | New Bugs | Assignee: | Alex Christensen <achristensen> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Alex Christensen
2016-10-05 10:52:56 PDT
Created attachment 290727 [details]
Patch
Comment on attachment 290727 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=290727&action=review > Source/WebCore/platform/URLParser.cpp:2318 > + if (UNLIKELY((value && leadingZeros) || (!value && length > 1) || (length > 1 && !value))) Oops. This was redundant. Removed one of the checks. |