From: Tom Hughes Date: Thu, 26 Jul 2018 16:44:16 +0000 (+0100) Subject: Remove script sources which are no longer needed by iD X-Git-Tag: live~3456 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/640ea955fe1eb5c4719664e13f6b6bcc5c5ae7f6?ds=inline Remove script sources which are no longer needed by iD --- diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 6cbe302d6..efb77e2f5 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -120,7 +120,7 @@ class SiteController < ApplicationController append_content_security_policy_directives( :connect_src => %w[*], :img_src => %w[* blob:], - :script_src => %w[dev.virtualearth.net *.wikipedia.org www.wikidata.org services.arcgisonline.com serviceslab.arcgisonline.com 'unsafe-eval'], + :script_src => %w[dev.virtualearth.net 'unsafe-eval'], :style_src => %w['unsafe-inline'] )