@@ -87,9 +87,9 @@ Options -MultiViews
87
87
88
88
<IfModule mod_headers.c >
89
89
Header set X-UA-Compatible "IE=edge"
90
- # `mod_headers` cannot match based on the content-type, however, this
91
- # header should be send only for HTML pages and not for the other resources
92
- <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$" >
90
+ # `mod_headers` cannot match based on the content-type, however, this header
91
+ # should be send only for HTML documents and not for the other resources
92
+ <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt| vcf|vtt|webapp|web[mp]|woff|xml|xpi)$" >
93
93
Header unset X-UA-Compatible
94
94
</FilesMatch >
95
95
</IfModule >
@@ -289,7 +289,7 @@ AddDefaultCharset utf-8
289
289
290
290
# <IfModule mod_headers.c>
291
291
# Header set X-Frame-Options "DENY"
292
- # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
292
+ # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt| vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
293
293
# Header unset X-Frame-Options
294
294
# </FilesMatch>
295
295
# </IfModule>
@@ -314,7 +314,7 @@ AddDefaultCharset utf-8
314
314
315
315
# <IfModule mod_headers.c>
316
316
# Header set Content-Security-Policy "script-src 'self'; object-src 'self'"
317
- # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
317
+ # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt| vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
318
318
# Header unset Content-Security-Policy
319
319
# </FilesMatch>
320
320
# </IfModule>
@@ -430,7 +430,7 @@ AddDefaultCharset utf-8
430
430
# <IfModule mod_headers.c>
431
431
# # (1) (2)
432
432
# Header set X-XSS-Protection "1; mode=block"
433
- # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
433
+ # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt| vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
434
434
# Header unset X-XSS-Protection
435
435
# </FilesMatch>
436
436
# </IfModule>
0 commit comments