From a388d2503e1563bc2441f859a254f0d7e868d095 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Fri, 26 May 2023 12:06:41 +0100 Subject: [PATCH] revert uploaded-media --- lib/pleroma/web/plugs/uploaded_media.ex | 2 +- mix.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/plugs/uploaded_media.ex b/lib/pleroma/web/plugs/uploaded_media.ex index cccbfe350..72f20e8de 100644 --- a/lib/pleroma/web/plugs/uploaded_media.ex +++ b/lib/pleroma/web/plugs/uploaded_media.ex @@ -42,7 +42,7 @@ def call(%{request_path: <<"/", @path, "/", file::binary>>} = conn, opts) do conn -> conn end - |> merge_resp_headers([{"content-security-policy", "script-src none"}]) + |> merge_resp_headers([{"content-security-policy", "sandbox"}]) config = Pleroma.Config.get(Pleroma.Upload) diff --git a/mix.exs b/mix.exs index b74f568c8..5c97c4e8e 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule Pleroma.Mixfile do def project do [ app: :pleroma, - version: version("3.9.1"), + version: version("3.9.2"), elixir: "~> 1.14", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix] ++ Mix.compilers(),