[Webkit-unassigned] [Bug 48857] New: Link dns-prefetch doesn't properly parse double-slash notation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 2 11:32:26 PDT 2010


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

           Summary: Link dns-prefetch doesn't properly parse double-slash
                    notation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org
            Blocks: 48813


It's possible to specify a hostname instead of URL for DNS prefetch using double slash:

<link rel="dns-prefetch" href="//www.spreadfirefox.com">

There is no code in WebCore to that effect - instead, this is parsed as URL, and magically works for HTTP. This is fragile, and can fail for other main document schemes.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list