Skip to content

Commit 8f1d938

Browse files
Wonderfalllirixia
authored andcommitted
disable legacy XSS filtering (mastodon#17289)
Browsers are phasing out X-XSS-Protection, but Safari and IE still support it.
1 parent a73d40b commit 8f1d938

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
'Server' => 'Mastodon',
135135
'X-Frame-Options' => 'DENY',
136136
'X-Content-Type-Options' => 'nosniff',
137-
'X-XSS-Protection' => '1; mode=block',
137+
'X-XSS-Protection' => '0',
138138
'Permissions-Policy' => 'interest-cohort=()',
139139
}
140140

0 commit comments

Comments
 (0)