WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 162979
URLParser should correctly strip unnecessary 0's in IPv6 addresses
https://bugs.webkit.org/show_bug.cgi?id=162979
Summary
URLParser should correctly strip unnecessary 0's in IPv6 addresses
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2016-10-05 10:54:06 PDT
Created
attachment 290727
[details]
Patch
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
http://trac.webkit.org/changeset/206819
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug