]> git.openstreetmap.org Git - rails.git/commitdiff
Default frame-src to self
authorTom Hughes <tom@compton.nu>
Tue, 15 May 2018 13:08:44 +0000 (14:08 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 15 May 2018 13:08:44 +0000 (14:08 +0100)
config/initializers/secure_headers.rb

index b0b45aa13125f355fd56ca74b31217f0d970af8f..9af170623198f763f55e2e8fb2593bd49904ad25 100644 (file)
@@ -6,6 +6,7 @@ if defined?(CSP_REPORT_URL)
     :font_src => %w['none'],
     :form_action => %w['self'],
     :frame_ancestors => %w['self'],
+    :frame_src => %w['self'],
     :img_src => %w['self' data: www.gravatar.com *.wp.com *.tile.openstreetmap.org *.tile.thunderforest.com *.openstreetmap.fr],
     :media_src => %w['none'],
     :object_src => %w['self'],