Bug 48857 - Link dns-prefetch doesn't properly parse double-slash notation
: Link dns-prefetch doesn't properly parse double-slash notation
Status: NEW
: WebKit
Page Loading
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
:
:
:
: 48813
  Show dependency treegraph
 
Reported: 2010-11-02 11:32 PST by
Modified: 2011-01-12 08:51 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-11-02 11:32:26 PST
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.