WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 285744
48857
Link dns-prefetch doesn't properly parse double-slash notation
https://bugs.webkit.org/show_bug.cgi?id=48857
Summary
Link dns-prefetch doesn't properly parse double-slash notation
Alexey Proskuryakov
Reported
2010-11-02 11:32:26 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Anne van Kesteren
Comment 1
2025-01-11 00:41:56 PST
*** This bug has been marked as a duplicate of
bug 285744
***
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