0
0
Fork 0

Change referrer-policy to no-referrer application-wide (#23014)

This commit is contained in:
Claire 2023-01-10 05:18:43 +01:00 committed by GitHub
parent 2bcb081ce8
commit aefefc74c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 5 deletions

View file

@ -138,6 +138,7 @@ Rails.application.configure do
'X-Content-Type-Options' => 'nosniff',
'X-XSS-Protection' => '0',
'Permissions-Policy' => 'interest-cohort=()',
'Referrer-Policy' => 'no-referrer',
}
config.x.otp_secret = ENV.fetch('OTP_SECRET')