Open Bug 682237 Opened 13 years ago Updated 2 years ago

Backing doesn't handle Vary header correctly

Categories

(Core :: Networking, defect, P3)

6 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: romain.sebille, Unassigned)

Details

(Whiteboard: [necko-backlog])

Attachments

(1 file)

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.
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
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: