From: Tom Hughes Date: Wed, 16 May 2018 10:36:46 +0000 (+0100) Subject: Allow iD to access wikidata X-Git-Tag: live~3618 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/9227f6aecd80f8ae2a9d759deb00da2a82e4fa73?ds=sidebyside Allow iD to access wikidata --- diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 394f7b9b3..50508f885 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 'unsafe-eval'] + :script_src => %w[dev.virtualearth.net *.wikipedia.org www.wikidata.org 'unsafe-eval'] ) render "id", :layout => false