Skip to content
Snippets Groups Projects
Unverified Commit 42b75840 authored by shadowfacts's avatar shadowfacts
Browse files

URI escape file upload URLs

parent fbcb6f76
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment