mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 00:09:35 +00:00
Remove a useless URI.encode call in MediaProxy
This commit is contained in:
parent
35ac549a99
commit
0ccd0e5cc9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue