Backing doesn't handle Vary header correctly

UNCONFIRMED
Unassigned

Status

()

P3
normal
UNCONFIRMED
8 years ago
2 years 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

8 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

2 years ago
Component: General → Networking
Product: Firefox → Core
Whiteboard: [necko-backlog]
You need to log in before you can comment on or make changes to this bug.