Bug 162979

Summary: URLParser should correctly strip unnecessary 0's in IPv6 addresses
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: New BugsAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch beidson: review+

Alex Christensen
Reported 2016-10-05 10:52:56 PDT
URLParser should correctly strip unnecessary 0's in IPv6 addresses
Attachments
Patch (4.20 KB, patch)
2016-10-05 10:54 PDT, Alex Christensen
beidson: review+
Alex Christensen
Comment 1 2016-10-05 10:54:06 PDT
Alex Christensen
Comment 2 2016-10-05 11:30:48 PDT
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.
Alex Christensen
Comment 3 2016-10-05 11:30:56 PDT
Note You need to log in before you can comment on or make changes to this bug.