lib/secure_headers/railtie.rb in secure_headers-3.0.0 vs lib/secure_headers/railtie.rb in secure_headers-3.0.1

- old
+ new

@@ -1,14 +1,14 @@ # rails 3.1+ if defined?(Rails::Railtie) module SecureHeaders class Railtie < Rails::Railtie isolate_namespace SecureHeaders if defined? isolate_namespace # rails 3.0 - conflicting_headers = ['X-Frame-Options', 'X-XSS-Protection', 'X-Content-Type-Options', + conflicting_headers = ['X-Frame-Options', 'X-XSS-Protection', 'X-Permitted-Cross-Domain-Policies', 'X-Download-Options', 'X-Content-Type-Options', 'Strict-Transport-Security', 'Content-Security-Policy', 'Content-Security-Policy-Report-Only', - 'X-Permitted-Cross-Domain-Policies', 'Public-Key-Pins', 'Public-Key-Pins-Report-Only'] + 'Public-Key-Pins', 'Public-Key-Pins-Report-Only'] initializer "secure_headers.middleware" do Rails.application.config.middleware.use SecureHeaders::Middleware end