Merge branch 'media-proxy-fix-encoding' into 'develop'

Remove a useless URI.encode call in MediaProxy

See merge request pleroma/pleroma!42
This commit is contained in:
lambda 2017-12-22 12:07:10 +00:00
commit ad180ad6dd

View file

@ -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