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

Deprecate CSP referrer #196

Closed
elrido opened this issue Mar 12, 2017 · 5 comments
Closed

Deprecate CSP referrer #196

elrido opened this issue Mar 12, 2017 · 5 comments

Comments

@elrido
Copy link
Contributor

elrido commented Mar 12, 2017

Firefox 52 displays the following message in the console:

Content Security Policy: Referrer Directive "no-referrer" has been deprecated. Please use the Referrer-Policy header instead.

Reproduced in PrivateBin 1.1 and the current master branch.

@rugk
Copy link
Member

rugk commented Mar 12, 2017

Yeah, but we already use Referrer-Policy. And no-referrer might still be required for older browsers. Maybe at some time we can drop using it.

@rugk rugk changed the title CSP referrer deprecated? Depreciate CSP referrer Dec 14, 2017
@elrido elrido changed the title Depreciate CSP referrer Deprecate CSP referrer Dec 15, 2017
@rugk rugk mentioned this issue Feb 12, 2018
@Salokyn
Copy link

Salokyn commented May 20, 2019

Yeah, but we already use Referrer-Policy.

I can't find where the header Referrer-Policy is set (I mean outside CSP where it should not remain eventually) ?

@rugk
Copy link
Member

rugk commented May 20, 2019

It's actually used as a HTML tag, not as a header. (Browsers allow both, however.)

<meta name="referrer" content="no-referrer">

@Salokyn
Copy link

Salokyn commented May 20, 2019

Thank you.
Sorry I think my comment reopened the issue 😓

@rugk
Copy link
Member

rugk commented May 20, 2019

No, it's all fine. This issue has been open all the time anyway…

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

No branches or pull requests

3 participants