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 b0b45aa..9af1706 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'],