From d3e325e04714c28a479d44acfee02d363b61e39b Mon Sep 17 00:00:00 2001 From: beatrix Date: Sat, 3 Feb 2018 14:49:00 -0500 Subject: [PATCH] change referrer policy to same-origin --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index a691ef873e..8979bbecab 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -96,7 +96,7 @@ Rails.application.configure do 'X-Content-Type-Options' => 'nosniff', 'X-XSS-Protection' => '1; mode=block', 'Content-Security-Policy' => "frame-ancestors 'none'; object-src 'none'; script-src 'self' https://dev-static.glitch.social ; base-uri 'none';" , - 'Referrer-Policy' => 'no-referrer, strict-origin-when-cross-origin', + 'Referrer-Policy' => 'same-origin', 'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload', 'X-Clacks-Overhead' => 'GNU Natalie Nguyen'