projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'features/apc2s-pagination' into 'develop'
[akkoma]
/
lib
/
pleroma
/
plugs
/
http_security_plug.ex
diff --git
a/lib/pleroma/plugs/http_security_plug.ex
b/lib/pleroma/plugs/http_security_plug.ex
index 41e3a31f43a39c355b3e251e993f452b67395539..6a339b32ca2e2b5491f992aca5dff5317eb1fc00 100644
(file)
--- a/
lib/pleroma/plugs/http_security_plug.ex
+++ b/
lib/pleroma/plugs/http_security_plug.ex
@@
-75,7
+75,7
@@
defmodule Pleroma.Plugs.HTTPSecurityPlug do
sources = get_proxy_and_attachment_sources()
{[img_src, sources], [media_src, sources]}
else
sources = get_proxy_and_attachment_sources()
{[img_src, sources], [media_src, sources]}
else
- {
img_src, media_src
}
+ {
[img_src, " https:"], [media_src, " https:"]
}
end
connect_src = ["connect-src 'self' blob: ", static_url, ?\s, websocket_url]
end
connect_src = ["connect-src 'self' blob: ", static_url, ?\s, websocket_url]