We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3635677 commit b8bb092Copy full SHA for b8bb092
lib/secure_headers/railtie.rb
@@ -3,7 +3,7 @@
3
module SecureHeaders
4
class Railtie < Rails::Engine
5
isolate_namespace ::SecureHeaders if defined? isolate_namespace # rails 3.0
6
- conflicting_headers = ['X-Frame-Options', 'X-XSS-Protection', 'X-Content-Options']
+ conflicting_headers = ['X-Frame-Options', 'X-XSS-Protection', 'X-Content-Type-Options']
7
initializer "secure_headers.action_controller" do
8
ActiveSupport.on_load(:action_controller) do
9
include ::SecureHeaders
0 commit comments