logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 79bd363a68cce0600c93eaa4ac08782333c3e8bb
parent db76ea578a550a4cbc0298d428b9c57ba605b276
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date:   Wed, 16 Nov 2022 21:27:04 +0000

Update lib/pleroma/web/plugs/http_security_plug.ex

Diffstat:

Mlib/pleroma/web/plugs/http_security_plug.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/web/plugs/http_security_plug.ex b/lib/pleroma/web/plugs/http_security_plug.ex @@ -119,7 +119,7 @@ defmodule Pleroma.Web.Plugs.HTTPSecurityPlug do else # TODO right now unsafe-eval is needed for WASM to load in chrome # see: https://github.com/WebAssembly/content-security-policy/issues/7 - "script-src 'self' 'unsafe-eval'" + "script-src 'self' 'wasm-unsafe-eval'" end report = if report_uri, do: ["report-uri ", report_uri, ";report-to csp-endpoint"]