X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f11221f05bcdd05edd7a9f97d6d57e7baaeb4921..46bc4650d2123a2233e62f0e101983552178d12a:/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']