X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8d41015673914c767be2660c495fd59d48addcd0..d0089f0ce81ef10ca7ed43969d83d8b77014fa11:/app/controllers/site_controller.rb?ds=sidebyside diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 394f7b9b3..efb77e2f5 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -120,7 +120,8 @@ class SiteController < ApplicationController append_content_security_policy_directives( :connect_src => %w[*], :img_src => %w[* blob:], - :script_src => %w[dev.virtualearth.net *.wikipedia.org 'unsafe-eval'] + :script_src => %w[dev.virtualearth.net 'unsafe-eval'], + :style_src => %w['unsafe-inline'] ) render "id", :layout => false