mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
URI escape file upload URLs
This commit is contained in:
parent
fbcb6f76b6
commit
42b7584068
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ defmodule Pleroma.Upload do
|
|||
end
|
||||
|
||||
defp url_from_spec(base_url, {:file, path}) do
|
||||
[base_url, "media", path]
|
||||
[base_url, "media", URI.encode(path)]
|
||||
|> Path.join()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue