We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8447ec3 commit 9e04fa3Copy full SHA for 9e04fa3
README.md
@@ -71,7 +71,7 @@ SecureHeaders::Configuration.default do |config|
71
config.x_xss_protection = "1; mode=block"
72
config.x_download_options = "noopen"
73
config.x_permitted_cross_domain_policies = "none"
74
- config.referrer_policy = "origin-when-cross-origin"
+ config.referrer_policy = %w(origin-when-cross-origin strict-origin-when-cross-origin)
75
config.csp = {
76
# "meta" values. these will shape the header, but the values are not included in the header.
77
preserve_schemes: true, # default: false. Schemes are removed from host sources to save bytes and discourage mixed content.
0 commit comments