mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
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:
commit
ad180ad6dd
1 changed files with 0 additions and 1 deletions
|
@ -14,7 +14,6 @@ defmodule Pleroma.Web.MediaProxy.MediaProxyController do
|
||||||
with \
|
with \
|
||||||
true <- Keyword.get(config, :enabled, false),
|
true <- Keyword.get(config, :enabled, false),
|
||||||
{:ok, url} <- Pleroma.Web.MediaProxy.decode_url(sig, url),
|
{:ok, url} <- Pleroma.Web.MediaProxy.decode_url(sig, url),
|
||||||
url = URI.encode(url),
|
|
||||||
{:ok, content_type, body} <- proxy_request(url)
|
{:ok, content_type, body} <- proxy_request(url)
|
||||||
do
|
do
|
||||||
conn
|
conn
|
||||||
|
|
Loading…
Reference in a new issue