From: Mark Felder Date: Mon, 6 Jul 2020 16:28:08 +0000 (-0500) Subject: IO list, not concatenation X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=da4029391d217b1e2c151e69479de42e2221e02f;p=akkoma IO list, not concatenation --- diff --git a/lib/pleroma/plugs/http_security_plug.ex b/lib/pleroma/plugs/http_security_plug.ex index 13423ca3f..472a3ff42 100644 --- 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