Closed Bug 639902 Opened 13 years ago Closed 8 years ago

http_referrer not set for an URL with an anchor

Categories

(Core :: Networking: HTTP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: meijuan.zhu, Unassigned)

References

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

I found that referrer in FF is missed when:

1. An URL with anchor was submitted. 
2. A JavaScript triggered user request immediately followed it. 
3. Then the back button was clicked to back to the URL With an anchor. 
 
Or 

1. An URL with anchor was submitted. 
2. A simple URL request was followed. 
3. A JavaScript triggered user request immediately followed it. 
4. Then the back button was clicked to back to the URL With an anchor. 
 
Or

1.    A simple URL request was followed.
2.    An URL with anchor was submitted.
3.    The refresh button was hit.
4.    Then the back button was clicked to back the URL with an anchor  



Reproducible: Always

Steps to Reproduce:
1. An URL with anchor was submitted. 
2. A JavaScript triggered user request immediately followed it. 
3. Then the back button was clicked to back to the URL With an anchor. 
 
Or 

1. An URL with anchor was submitted. 
2. A simple URL request was followed. 
3. A JavaScript triggered user request immediately followed it. 
4. Then the back button was clicked to back to the URL With an anchor. 
 
Or

1.    A simple URL request was followed.
2.    An URL with anchor was submitted.
3.    The refresh button was hit.
4.    Then the back button was clicked to back the URL with an anchor  

Actual Results:  
no http_referrer was set.

Expected Results:  
the referrer should hold the URL with an anchor
Firefox 3.0 is no longer supported.

Please see if this still occurs using 3.6.15 or later.

Be sure to check using safe mode and/or a clean profile:
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Basic+Troubleshooting#w_make-a-new-profile

Thanks!
Version: unspecified → 3.0 Branch
I retried it with 3.6.13 with Safe mode. I still got the same issue. I will download the 3.6.15 from the FF official website and check the issue again.

Thanks...
I downloaded the 3.6.15 and run it with the safe-mode and a new profile, but I still have the same issue.

Thanks...
Thanks for confirming with 3.6.15.
Do you have a testcase you could attach?

Does this still exist with the latest nightly?
http://nightly.mozilla.org/

Moving to Core::HTTP as that is (hopefully a more appropriate place for it)

Thanks!
Blocks: 61660
Component: General → Networking: HTTP
Product: Firefox → Core
QA Contact: general → networking.http
Version: 3.0 Branch → unspecified
Reporter, please can you confirm whether this issue still occurs using Firefox 4.0.1 (http://www.mozilla.com/firefox/new/) or higher, in Firefox safe mode (http://support.mozilla.com/kb/Safe+Mode) and/or with a clean profile (http://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile). Ideally, also check using the latest nightly: http://nightly.mozilla.org/

If this issue no longer occurs, please close as "Resolved Worksforme".

It it in fact still occurs, please provide as much extra information as possible, including what versions tried, whether safe mode/new profile tested etc. Thanks! :-)

(Template reply to inactive UNCO bugs)
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.