Upload: Fix uploading with a : in the filename
This commit is contained in:
parent
e3eb75bd23
commit
9fcdca1bdc
2 changed files with 4 additions and 3 deletions
|
|
@ -219,6 +219,7 @@ defmodule Pleroma.Upload do
|
|||
path
|
||||
|> URI.encode()
|
||||
|> String.replace("?", "%3F")
|
||||
|> String.replace(":", "%3A")
|
||||
|
||||
[base_url, "media", path]
|
||||
|> Path.join()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue