Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

status page requires referer #914

Closed
J0WI opened this issue Oct 25, 2016 · 6 comments
Closed

status page requires referer #914

J0WI opened this issue Oct 25, 2016 · 6 comments

Comments

@J0WI
Copy link
Contributor

J0WI commented Oct 25, 2016

The graphs on a nodes status page requires a client to send it's full referer that graphs and live stats are shown.
It's generally a bad idea to use the referer for privacy reasons on client side and security reasons on server side (lack of integrity). Is there a way to get rid of this requirement?

@J0WI J0WI mentioned this issue Oct 25, 2016
28 tasks
@jplitza
Copy link
Member

jplitza commented Oct 25, 2016

Could you please elaborate on how exactly the statuspage depends on the Referer? I set network.http.sendRefererHeader to 0 in my Firefox and the statuspage still seems to work as before.

@J0WI
Copy link
Contributor Author

J0WI commented Oct 25, 2016

I have network.http.referer.XOriginPolicy = 1 which causes the issue.
I can confirm that it works when referer is completely off (network.http.sendRefererHeader = 0). That is quite strange.

@jplitza
Copy link
Member

jplitza commented Oct 25, 2016

Still can't reproduce the issue. Can you verify that the problem really is a Referer header (not) being sent (for example using the Developer Tools accessible via F12)? What requests fail with what reason in which constellation of settings?

@J0WI
Copy link
Contributor Author

J0WI commented Oct 25, 2016

I have 10 request without this setting and only 4 with this setting on a clean Firefox Nightly profile.

@flobeier
Copy link
Contributor

I encountered the exact same problem. I too set network.http.referer.XOriginPolicy to 1 with the effect that the live stats aren't shown. When I set it back to 0 everything works as expected.

@rotanid
Copy link
Member

rotanid commented Feb 15, 2018

#1194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants