Closed Bug 1197465 Opened 10 years ago Closed 10 years ago

Session restore sends along a localhost referrer (http://localhost:56679/errors/error.html?url=…)

Categories

(Firefox for iOS :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 1.1+ ---

People

(Reporter: MattN, Assigned: bnicholson)

References

()

Details

(Whiteboard: [nicetohave105])

Attachments

(1 file)

I happened to be looking in my server logs and noticed FxiOS sending a referrer of "http://localhost:56679/errors/error.html?url=http%3A//www.example.com/" (after substituting the domain name) which IIUC is related to the session restore mechanism: [20/Aug/2015:13:18:16 -0400] "GET / HTTP/1.1" 200 6339 "http://localhost:56679/errors/error.html?url=http%3A//www.example.com/" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_4 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) FxiOS/1.0 Mobile/12H143 Safari/600.1.4" If possible, we should suppress this referer header e.g. via Referrer Policy [1] [1] https://w3c.github.io/webappsec/specs/referrer-policy/
We certainly should!
*shakes fist at WKWebView*
Whiteboard: [nicetohave105]
Assignee: nobody → bnicholson
Status: NEW → ASSIGNED
Attachment #8653798 - Flags: review?(rnewman)
Comment on attachment 8653798 [details] [review] Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/982 Let's land this after the v1 split. It can be our first trial run of backporting a v1.0.5 fix to master.
Attachment #8653798 - Flags: review?(rnewman) → review+
bnicholson: you can land this in both branches at your leisure :)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: