From 8d41015673914c767be2660c495fd59d48addcd0 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 16 May 2018 08:48:38 +0100 Subject: [PATCH] Allow iD to access wikipedia --- app/controllers/site_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5