Verified Commit 0ccd0e5c authored by href's avatar href
Browse files

Remove a useless URI.encode call in MediaProxy

parent 35ac549a
......@@ -14,7 +14,6 @@ def remote(conn, %{"sig" => sig, "url" => url}) do
with \
true <- Keyword.get(config, :enabled, false),
{:ok, url} <- Pleroma.Web.MediaProxy.decode_url(sig, url),
url = URI.encode(url),
{:ok, content_type, body} <- proxy_request(url)
do
conn
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment