X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad2e50fcfb7aab6cb6bbf5518920e4091be5b9a4..08de53f51b898af1e1318776913e9e62caddefea:/app/controllers/application_controller.rb diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7ce804ced..fc90e0be7 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -21,7 +21,7 @@ class ApplicationController < ActionController::Base def self.allow_thirdparty_images(**options) content_security_policy(options) do |policy| - policy.img_src("*") + policy.img_src("*", :data) end end