Bug 11171
| Summary: | HTTP 'Referer' is not set properly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Fisher (:fishd, Google) <fishd> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | webkit |
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
Darin Fisher (:fishd, Google)
HTTP 'Referer' is not set properly. For example, entering an URL in the URL bar results in a referrer of the URL itself. In that case at least, there should be no referrer.
I suspect that part of the problem is that frame->referrer() is not the same as frame->resourceRequest().referrer(), and ResourceLoaderWin sends frame->referrer() as the HTTP 'Referer' header unconditionally.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Robert Blaut
(In reply to comment #0)
> HTTP 'Referer' is not set properly. For example, entering an URL in the URL
> bar results in a referrer of the URL itself. In that case at least, there
> should be no referrer.
I've checked the reported problem in Webkit r30468 on Windows and I cannot confirm the bug. After visiting the site: http://www.ericgiguere.com/tools/http-header-viewer.html from the address bar there was no Referrer header set by Webkit. So I resolve the bug as WORKSFORME.