Bug 48857
| Summary: | Link dns-prefetch doesn't properly parse double-slash notation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | annevk, gavinp |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 48813 | ||
Alexey Proskuryakov
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
*** This bug has been marked as a duplicate of bug 285744 ***