mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
fix missing filename urlencoding in multidownload
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user