From: Tom Hughes Date: Wed, 16 May 2018 07:48:38 +0000 (+0100) Subject: Allow iD to access wikipedia X-Git-Tag: live~3060 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8d41015673914c767be2660c495fd59d48addcd0 Allow iD to access wikipedia --- diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index fa8ec5a1e..394f7b9b3 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 'unsafe-eval'] + :script_src => %w[dev.virtualearth.net *.wikipedia.org 'unsafe-eval'] ) render "id", :layout => false