[Webkit-unassigned] [Bug 146055] New: URL: trim before scheme checks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 17 05:03:00 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146055

            Bug ID: 146055
           Summary: URL: trim before scheme checks
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: annevk at annevk.nl

The backslash replacement in https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/URL.cpp#L470 should happen after the C0 controls and space removal at https://github.com/WebKit/webkit/blob/master/Source/WebCore/platform/URL.cpp#L492 because otherwise e.g. " data:\" turns into "data:/" which does not seem desired.

(I was also wondering if we could limit the backslash replacement to only the special schemes: http/https/ftp/gopher/file/ws/wss?)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150617/d8e3bdd2/attachment-0001.html>


More information about the webkit-unassigned mailing list