Bug 11171 - HTTP 'Referer' is not set properly
Summary: HTTP 'Referer' is not set properly
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 420+
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-05 08:26 PDT by Darin Fisher (:fishd, Google)
Modified: 2008-02-23 12:20 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Fisher (:fishd, Google) 2006-10-05 08:26:18 PDT
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.
Comment 1 Robert Blaut 2008-02-23 12:20:31 PST
(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.