Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Allow for setting the refferer policy security header #435

Closed
Crevil opened this issue Mar 4, 2017 · 3 comments
Closed

Allow for setting the refferer policy security header #435

Crevil opened this issue Mar 4, 2017 · 3 comments

Comments

@Crevil
Copy link
Contributor

Crevil commented Mar 4, 2017

It would be great to be able to set the Referrer-Policy security header in the Security Headers section of the Browser cache settings.

Link to the w3 specification: https://www.w3.org/TR/referrer-policy/

The possible values are:

enum ReferrerPolicy {
  "",
  "no-referrer",
  "no-referrer-when-downgrade",
  "same-origin",
  "origin",
  "strict-origin",
  "origin-when-cross-origin",
  "strict-origin-when-cross-origin",
  "unsafe-url"
};
@Crevil
Copy link
Contributor Author

Crevil commented Mar 5, 2017

@nigrosimone I'll look into making a PR on this if that's ok with you?

@szepeviktor
Copy link
Owner

Thanks.

@nigrosimone
Copy link
Collaborator

nigrosimone commented Mar 5, 2017

@Crevil yes thanks! it's very appreciated! The Security Headers feature is made by @amiga-500, you can review her work on this prs:

"Security Headers" Section Added to Browser Cache
🔧 + Extra: #PR363 – Adds Default Values to CSP (Security Headers)
🔧 + Extra: #PR377 – Important Change – Session Cookies

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

No branches or pull requests

3 participants