]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Reverse coordinates order only when called with two nondescript numbers
[rails.git] / app / controllers / site_controller.rb
index 394f7b9b38cd0a4cfc88b32e44b3457802cffbdf..efb77e2f52aad92574600d3d87082e3e1376bbe1 100644 (file)
@@ -120,7 +120,8 @@ 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 'unsafe-eval'],
+      :style_src => %w['unsafe-inline']
     )
 
     render "id", :layout => false