[Webkit-unassigned] [Bug 104905] New: document.reload() loses the referrer (aka referer)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 13 04:51:56 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=104905
Summary: document.reload() loses the referrer (aka referer)
Product: WebKit
Version: 525.x (Safari 3.2)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Minor
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: w.t at tiscali.it
document.reload() assumes the referrer to be the current URL, instead of the original referrer.
This behavior is inconsistent with all other major browsers.
To reproduce, paste this into a webpage:
<a href="?one=1">with query string</a><br/>
<script>document.write("referrer: "+document.referrer)</script><br/>
<button onclick="location.reload(true)">reload</button><br/>
1) load this page
2) click on "with query string"
3) notice that the URL now contains the query string, while the referrer does not
4) click the "reload" button
5) notice that the referrer now contains the query string, which it shouldn't (just follow the same steps on any non-WebKit browser)
I set the priority to P2 because this bug (apart from being a problem for a website I work for) should be really easy to fix.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list