Skip to content

Commit b8bb092

Browse files
committed
Proper X-Content-Type-Options name
1 parent 3635677 commit b8bb092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/secure_headers/railtie.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module SecureHeaders
44
class Railtie < Rails::Engine
55
isolate_namespace ::SecureHeaders if defined? isolate_namespace # rails 3.0
6-
conflicting_headers = ['X-Frame-Options', 'X-XSS-Protection', 'X-Content-Options']
6+
conflicting_headers = ['X-Frame-Options', 'X-XSS-Protection', 'X-Content-Type-Options']
77
initializer "secure_headers.action_controller" do
88
ActiveSupport.on_load(:action_controller) do
99
include ::SecureHeaders

0 commit comments

Comments
 (0)