Uploads: Sandbox them in the CSP.

stable
lain 4 years ago
parent 96eae62995
commit 6bc76df287

@ -41,6 +41,7 @@ defmodule Pleroma.Plugs.UploadedMedia do
conn -> conn ->
conn conn
end end
|> merge_resp_headers([{"content-security-policy", "sandbox"}])
config = Pleroma.Config.get(Pleroma.Upload) config = Pleroma.Config.get(Pleroma.Upload)

Loading…
Cancel
Save