Backing doesn't handle Vary header correctly

UNCONFIRMED
Unassigned

Status

()

Core
Networking
P3
normal
UNCONFIRMED
6 years ago
3 months ago

People

(Reporter: Romain SEBILLE, Unassigned)

Tracking

6 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [necko-backlog])

Attachments

(1 attachment)

733 bytes, application/octet-stream
Details
(Reporter)

Description

6 years ago
Created attachment 555985 [details]
reproduce the bug easily

User Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.215 Safari/535.1

Steps to reproduce:

1. Go to a page sending a "Vary:  Accept-Encoding, X-Requested-With" header.
2. Make a request on the same URL with "X-Requested-With: XMLHttpRequest" header.
3. Go to a different page.
4. Hit the back button.

BTW Firefox 4 work as expected.

I attach two php script for reproduce the bug easily.
1. Go to page1
2. Click on the link "XHR Page 1"
3. Click on the link "Not XHR Page 2"
4. Click on the link "Back" or hit the back button


Actual results:

We see the result of the second step. The XHR version.


Expected results:

We should see the result of the first step. The "normal" version.

Updated

4 months ago
Component: General → Networking
Product: Firefox → Core
Whiteboard: [necko-backlog]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
You need to log in before you can comment on or make changes to this bug.