[openstreetmap/openstreetmap-website] Switch to using rails builtin content security policy support (PR #4627)

Tom Hughes notifications at github.com
Wed May 22 15:42:17 UTC 2024


@tomhughes commented on this pull request.



> @@ -4,6 +4,10 @@ class ExportController < ApplicationController
   before_action :update_totp, :only => [:finish]
   authorize_resource :class => false
 
+  content_security_policy do |policy|

Yes indeed, now fixed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4627#discussion_r1610229783
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4627/review/2071658941 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240522/2bebaf87/attachment.htm>


More information about the rails-dev mailing list