projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65843d9
)
IO list, not concatenation
author
Mark Felder
<feld@FreeBSD.org>
Mon, 6 Jul 2020 16:28:08 +0000
(11:28 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Mon, 6 Jul 2020 16:28:08 +0000
(11:28 -0500)
lib/pleroma/plugs/http_security_plug.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/plugs/http_security_plug.ex
b/lib/pleroma/plugs/http_security_plug.ex
index 13423ca3f3abe396a0c1d9dc4b0df83391e80d4b..472a3ff42e4869d1b8f2e6e347f2cc65cda4b89c 100644
(file)
--- a/
lib/pleroma/plugs/http_security_plug.ex
+++ b/
lib/pleroma/plugs/http_security_plug.ex
@@
-145,7
+145,7
@@
defmodule Pleroma.Plugs.HTTPSecurityPlug do
%{host: host, scheme: scheme} = URI.parse(url)
if scheme do
- scheme <> "://" <> host
+ [scheme, "://", host]
end
end