Browse Source

disable legacy XSS filtering (#17289)

Browsers are phasing out X-XSS-Protection, but Safari and IE still support it.
pull/17349/head
Wonderfall 4 months ago committed by GitHub
parent
commit
244726e2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      config/environments/production.rb

2
config/environments/production.rb

@ -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