No referrer sent for meta refresh
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: dveditz, Assigned: zrhoffman)
References
(Blocks 4 open bugs)
Details
(Keywords: DevAdvocacy, fixed-aviary1.0, fixed1.7.5)
Attachments
(8 files)
2.51 KB,
patch
|
darin.moz
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
9.87 KB,
patch
|
Details | Diff | Splinter Review | |
28.50 KB,
patch
|
dveditz
:
review+
darin.moz
:
superreview+
bugs
:
approval-aviary+
|
Details | Diff | Splinter Review |
28.73 KB,
patch
|
Details | Diff | Splinter Review | |
1.42 KB,
patch
|
Details | Diff | Splinter Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Comment 1•20 years ago
|
||
Reporter | ||
Comment 2•20 years ago
|
||
Comment 3•20 years ago
|
||
Reporter | ||
Comment 4•20 years ago
|
||
Reporter | ||
Comment 5•20 years ago
|
||
Comment 6•20 years ago
|
||
Reporter | ||
Comment 7•20 years ago
|
||
Reporter | ||
Updated•20 years ago
|
Comment 8•20 years ago
|
||
Comment 9•20 years ago
|
||
Comment 10•20 years ago
|
||
Comment 11•20 years ago
|
||
Comment 12•20 years ago
|
||
Comment 13•20 years ago
|
||
Comment 14•20 years ago
|
||
Comment 15•20 years ago
|
||
Updated•20 years ago
|
Comment 16•20 years ago
|
||
Reporter | ||
Comment 17•20 years ago
|
||
Reporter | ||
Comment 18•20 years ago
|
||
Updated•20 years ago
|
Comment 19•20 years ago
|
||
Comment 20•20 years ago
|
||
Comment 21•20 years ago
|
||
Reporter | ||
Comment 22•20 years ago
|
||
Comment 23•20 years ago
|
||
Comment 24•20 years ago
|
||
Comment 25•20 years ago
|
||
Comment 26•20 years ago
|
||
Comment 27•20 years ago
|
||
Comment 28•20 years ago
|
||
Comment 29•20 years ago
|
||
Comment 30•20 years ago
|
||
Comment 31•20 years ago
|
||
Comment 32•20 years ago
|
||
Updated•20 years ago
|
Reporter | ||
Comment 33•20 years ago
|
||
Comment 34•20 years ago
|
||
Comment 35•20 years ago
|
||
Comment 36•20 years ago
|
||
Comment 37•20 years ago
|
||
Comment 38•20 years ago
|
||
Reporter | ||
Comment 39•20 years ago
|
||
Comment 40•20 years ago
|
||
Comment 42•20 years ago
|
||
Updated•20 years ago
|
Comment 43•20 years ago
|
||
Reporter | ||
Comment 44•20 years ago
|
||
Reporter | ||
Comment 45•20 years ago
|
||
Updated•20 years ago
|
Updated•20 years ago
|
Updated•20 years ago
|
Comment 46•19 years ago
|
||
Comment 47•19 years ago
|
||
Comment 48•19 years ago
|
||
Comment 49•19 years ago
|
||
Comment 50•19 years ago
|
||
Comment 51•19 years ago
|
||
Comment 52•19 years ago
|
||
Comment 53•19 years ago
|
||
Comment 54•18 years ago
|
||
Comment 55•18 years ago
|
||
Reporter | ||
Updated•18 years ago
|
Comment hidden (advocacy) |
Comment 57•17 years ago
|
||
Updated•16 years ago
|
Updated•13 years ago
|
Comment 58•7 years ago
|
||
Comment 59•7 years ago
|
||
Comment 60•7 years ago
|
||
Comment 61•7 years ago
|
||
Comment 62•7 years ago
|
||
Comment 63•7 years ago
|
||
Updated•7 years ago
|
Comment 64•7 years ago
|
||
Comment 65•7 years ago
|
||
Comment 66•7 years ago
|
||
Comment 67•7 years ago
|
||
Comment 68•7 years ago
|
||
Updated•4 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 69•21 days ago
|
||
IMO, attempting to align with WebKit's refresh referrer behavior seems reasonable. As I mentioned in the spec issue, Blink sends a full URL for cross-origin requests in an iframe with referrer policies no-referrer-when-downgrade
or unsafe-url
. Other than that webcompat difference, I think we have enough enough info to move forward.
(In reply to Ben Kelly [:bkelly, not reviewing] from comment #65)
HTML spec issue:
As :annevk mentions in bug 1479017 comment 2, a referrer should be send in the case of either a Refresh
header or a meta
refresh, in accordance with the navigate algorithm.
(In reply to Ben Kelly [:bkelly, not reviewing] from comment #64)
I think the spec matches chrome/safari behavior because it does not
explicitly set the fetch API's request referer. So fetch request referer
will be "client" and extract the current URL. Its unclear if this is
intended, though. I'll write a spec issue.
Refresh does not apply to subresources, so I think this is resolved?
(In reply to Sander Marechal from comment #31)
Can sending a referer at least be a togglable option?
Intending to make it toggable using the network.http.referer.sendFromRefresh
pref.
Many websites (inlcuding my own) use the meta refresh to link people to other
pages without that other page knowing where the visitor came from.
Preventing an external site from receiving a referrer is best accomplished using a referrer policy.
Assignee | ||
Comment 70•21 days ago
|
||
This should be safe to do because Refreshes are applied only to
documents and not to subresources.
Updated•21 days ago
|
Assignee | ||
Comment 71•21 days ago
|
||
When ReferrerInfo is exposed later in the patchset, using the document
referrer info instead of mReferrerInfo will matter, but for now,
behavior should be unchanged.
Optional argument aSendReferrer for the ReferrerInfo constructor is
added. Because the existing bhavior of InitWithDocument setting
mSendReferrer to true is acceptable in all other cases, the
aSendReferrer argument is not passed to InitWithDocument and
nsIReferrerInfo.idl is unchanged.
Unused method ReferrerInfo::CloneWithNewSendReferrer is removed.
Assignee | ||
Comment 72•21 days ago
|
||
This applies for refreshes resulting from either a <meta>
refresh or
the Refresh header. Referrer Policy is honored.
Because exposing the referrer in a new place could have privacy
implications, this behavior is gated behind a disabled pref until
anti-tracking has been considered in bug 1928294.
Updated•8 days ago
|
Comment 73•8 days ago
|
||
Comment 75•7 days ago
|
||
Backed out for causing failures at subresource.any.worker.html.
Backout link: https://hg.mozilla.org/integration/autoland/rev/d7c047ad850c03be966a073a59fefcf3e41b35f9
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=482568510&repo=autoland&lineNumber=3802
https://treeherder.mozilla.org/logviewer?job_id=482570267&repo=autoland&lineNumber=10391
Assignee | ||
Comment 76•7 days ago
|
||
Needed to only test that Refresh does not affect Image if the test is being run from a Window.
Comment 78•7 days ago
|
||
Comment 79•7 days ago
|
||
Assignee | ||
Updated•7 days ago
|
Assignee | ||
Updated•7 days ago
|
Comment 80•7 days ago
|
||
Comment 81•7 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5b5208003a19
https://hg.mozilla.org/mozilla-central/rev/10bf85fb6814
https://hg.mozilla.org/mozilla-central/rev/29698232d001
Updated•4 days ago
|
Description
•