X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb2c1f6cfd7895da49889f1a915c93d3e7e32a3a..7f8025667b13877ba8dbe4f7457e98402977abbf:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 4b960e4e2..5833a1e04 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -70,6 +70,7 @@ class SiteController < ApplicationController if %w[potlatch potlatch2].include?(editor) append_content_security_policy_directives( + :connect_src => %w[*], :object_src => %w[*], :plugin_types => %w[application/x-shockwave-flash], :script_src => %w['unsafe-inline']