Uploads: Sandbox them in the CSP.

This commit is contained in:
lain 2020-04-15 12:05:22 +02:00 committed by rinpatch
parent 8cf4e1619e
commit a4afeed426

View file

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