Merge pull request #4856 from tyrasd/patch-2
reintroduce unsafe-eval CSP rule for iD (Mapillary layer)
This commit is contained in:
commit
9004c2d28d
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ class SiteController < ApplicationController
|
|||
content_security_policy(:only => :id) do |policy|
|
||||
policy.connect_src("*")
|
||||
policy.img_src(*policy.img_src, "*", :blob)
|
||||
policy.script_src(*policy.script_src, :unsafe_eval)
|
||||
policy.style_src(*policy.style_src, :unsafe_inline)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue