From: href Date: Thu, 21 Dec 2017 19:59:10 +0000 (+0100) Subject: Remove a useless URI.encode call in MediaProxy X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=0ccd0e5cc99417428877e61d09a1fa4ea5578625;p=akkoma Remove a useless URI.encode call in MediaProxy --- diff --git a/lib/pleroma/web/media_proxy/controller.ex b/lib/pleroma/web/media_proxy/controller.ex index 0ac70c9d8..560a65353 100644 --- a/lib/pleroma/web/media_proxy/controller.ex +++ b/lib/pleroma/web/media_proxy/controller.ex @@ -14,7 +14,6 @@ defmodule Pleroma.Web.MediaProxy.MediaProxyController 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