fix missing filename urlencoding in multidownload
This commit is contained in:
parent
152380bd05
commit
e7cf44b52a
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ const FileListing: FC<{ query?: ParsedUrlQuery }> = ({ query }) => {
|
|||
.filter(c => selected[c.id])
|
||||
.map(c => ({
|
||||
name: c.name,
|
||||
url: `/api/raw/?path=${path}/${c.name}${hashedToken ? `&odpt=${hashedToken}` : ''}`,
|
||||
url: `/api/raw/?path=${path}/${encodeURIComponent(c.name)}${hashedToken ? `&odpt=${hashedToken}` : ''}`,
|
||||
}))
|
||||
|
||||
if (files.length == 1) {
|
||||
|
|
Loading…
Reference in a new issue