Browse Source

disable legacy XSS filtering (#17289)

Browsers are phasing out X-XSS-Protection, but Safari and IE still support it.
cs+3.4.6^2
Wonderfall 2 years ago
committed by Claire
parent
commit
a06dda41d0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/environments/production.rb

+ 1
- 1
config/environments/production.rb View File

@ -118,7 +118,7 @@ Rails.application.configure do
'Server' => 'Mastodon',
'X-Frame-Options' => 'DENY',
'X-Content-Type-Options' => 'nosniff',
'X-XSS-Protection' => '1; mode=block',
'X-XSS-Protection' => '0',
'Permissions-Policy' => 'interest-cohort=()',
}

Loading…
Cancel
Save