From: Tom Hughes Date: Wed, 4 Dec 2024 18:53:37 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/pull/5378' X-Git-Tag: live~19 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/12998355a370c5af1302b271a994d27d40b7e731?hp=98b4d62462040deb0d3564808917f69cc723c3a3 Merge remote-tracking branch 'upstream/pull/5378' --- 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