Preserve schemes in security policy
authorTom Hughes <tom@compton.nu>
Thu, 17 May 2018 18:10:23 +0000 (19:10 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 17 May 2018 18:10:23 +0000 (19:10 +0100)
config/initializers/secure_headers.rb

index bb901e3..ba9aa49 100644 (file)
@@ -1,5 +1,6 @@
 if defined?(CSP_REPORT_URL)
   csp_policy = {
+    :preserve_schemes => true,
     :default_src => %w['self'],
     :child_src => %w['self'],
     :connect_src => %w['self'],