projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e50c38
)
Allow iD to access wikipedia
author
Tom Hughes
<tom@compton.nu>
Wed, 16 May 2018 07:48:38 +0000
(08:48 +0100)
committer
Tom Hughes
<tom@compton.nu>
Wed, 16 May 2018 07:48:38 +0000
(08:48 +0100)
app/controllers/site_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/site_controller.rb
b/app/controllers/site_controller.rb
index fa8ec5a1ee0478036750be78dec10150fd391d0e..394f7b9b38cd0a4cfc88b32e44b3457802cffbdf 100644
(file)
--- 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