From 0ccd0e5cc99417428877e61d09a1fa4ea5578625 Mon Sep 17 00:00:00 2001 From: href Date: Thu, 21 Dec 2017 20:59:10 +0100 Subject: [PATCH] Remove a useless URI.encode call in MediaProxy --- lib/pleroma/web/media_proxy/controller.ex | 1 - 1 file changed, 1 deletion(-) 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 -- 2.45.2