aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/ostatus
diff options
context:
space:
mode:
authorhref <href@random.sh>2019-02-19 18:56:57 +0100
committerhref <href@random.sh>2019-02-19 18:56:57 +0100
commitf4bfc628ca16582ee064a2753e6a32fd891803d4 (patch)
tree69cda392d6ca9465a01a1beb72a6163afc006259 /lib/pleroma/web/ostatus
parentaa9af1d639c21787acab7e09ef8d45b443793e2a (diff)
downloadpleroma-f4bfc628ca16582ee064a2753e6a32fd891803d4.tar.gz
Player: allow styles on CSP, loop videos
Diffstat (limited to 'lib/pleroma/web/ostatus')
-rw-r--r--lib/pleroma/web/ostatus/ostatus_controller.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/ostatus/ostatus_controller.ex b/lib/pleroma/web/ostatus/ostatus_controller.ex
index 4877e032b..0490a32d3 100644
--- a/lib/pleroma/web/ostatus/ostatus_controller.ex
+++ b/lib/pleroma/web/ostatus/ostatus_controller.ex
@@ -197,7 +197,7 @@ defmodule Pleroma.Web.OStatus.OStatusController do
|> put_resp_header("x-frame-options", "ALLOW")
|> put_resp_header(
"content-security-policy",
- "default-src 'none'; img-src 'self' data: https:; media-src 'self' https:;"
+ "default-src 'none';style-src 'self' 'unsafe-inline';img-src 'self' data: https:; media-src 'self' https:;"
)
|> put_view(Pleroma.Web.Metadata.PlayerView)
|> render("player.html", url)