Bug 169178 - Fix URLs relative to file URLs with paths beginning with Windows drive letters
Summary: Fix URLs relative to file URLs with paths beginning with Windows drive letters
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-04 19:06 PST by Alex Christensen
Modified: 2017-03-06 14:55 PST (History)
0 users

See Also:


Attachments
Patch (13.86 KB, patch)
2017-03-04 19:12 PST, Alex Christensen
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2017-03-04 19:06:32 PST
Fix URLs relative to file URLs with paths beginning with Windows drive letters
Comment 1 Alex Christensen 2017-03-04 19:12:48 PST
Created attachment 303432 [details]
Patch
Comment 2 Tim Horton 2017-03-06 13:42:21 PST
Comment on attachment 303432 [details]
Patch

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

> Source/WebCore/platform/URLParser.cpp:492
> +    if (base.protocolIs("file")) {

No love for early returns?
Comment 3 Alex Christensen 2017-03-06 14:55:57 PST
http://trac.webkit.org/r213469