Browse Source

disable legacy XSS filtering (#17289)

Browsers are phasing out X-XSS-Protection, but Safari and IE still support it.
Wonderfall 4 years ago committed by Claire
parent
commit
b99c58b6fe
  1. 2
      config/environments/production.rb

2
config/environments/production.rb

@ -108,7 +108,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',
}
config.x.otp_secret = ENV.fetch('OTP_SECRET')

Loading…
Cancel
Save