Firefox not sending a referer header for a logo img while Chrome and Safari do
Categories
(Core :: DOM: Security, defect, P5)
Tracking
()
| Webcompat Priority | P2 |
People
(Reporter: twisniewski, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: webcompat:platform-bug, Whiteboard: [domsecurity-backlog3])
Attachments
(1 file)
|
86.25 KB,
image/png
|
Details |
The logo at https://lutheransforlife-canada.ca/ does not load in Firefox, because Firefox is not sending a referer header, and the site expects one. As Chrome and Safari do send the header, this is a webcompat issue (as reported at https://github.com/webcompat/web-bugs/issues/123583)
| Reporter | ||
Updated•3 years ago
|
Comment 1•3 years ago
|
||
According to DevTools, the Referrer Policy is the standard strict-origin-when-cross-origin, and we think the request is same-origin (Sec-Fetch-Site: same-origin) so we should definitely be sending a referrer. As far as I can tell Referrer Policy is doing the right thing so maybe there's something going on in Networking?
As far as I can tell, the Favicon loader is correctly setting a policy but the computed referrer is empty, so we return early here.
I believe this has something to do with the content-security-policy upgrade-insecure-requests; on the main document response, as ComputeReferrer fails on this line
Comment 3•3 years ago
|
||
Indeed, it looks like either ReferrerInfo doesn't take any upgrading into account or it just happens to early?
However, this should also be fixed when we update the logo due to upgrading of passive mixed content.
Comment 4•3 years ago
|
||
The severity field is not set for this bug.
:freddy, could you have a look please?
For more information, please visit BugBot documentation.
| Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 5•2 years ago
|
||
The issue is no longer reproducing, the logo loads correctly.
Environment:
Operating system: Windows 10
Browser tested: Firefox Nightly 128.0a1 (2024-05-30) / Firefox Release 126
Updated•2 years ago
|
Updated•1 year ago
|
Description
•