projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ac549
)
Remove a useless URI.encode call in MediaProxy
author
href
<href@random.sh>
Thu, 21 Dec 2017 19:59:10 +0000
(20:59 +0100)
committer
href
<href@random.sh>
Thu, 21 Dec 2017 19:59:10 +0000
(20:59 +0100)
lib/pleroma/web/media_proxy/controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/media_proxy/controller.ex
b/lib/pleroma/web/media_proxy/controller.ex
index 0ac70c9d817080754d566e8eed9b56927d4190aa..560a653531b6c7824aa1967c0b99a40f6523d869 100644
(file)
--- 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