mirror of
https://git.rape.pet/ulith/amputoma.git
synced 2025-02-24 21:53:59 +01:00
Uploads: Sandbox them in the CSP.
This commit is contained in:
parent
8cf4e1619e
commit
a4afeed426
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue