fix: upload: %20 instead of ' ' displayed for destination

Massimo Melina committed Jan 22, 2023 at 21:17 UTC be27b23af6363255f6157d5f68ddefdba0bfdff0
2 files changed +2 -2
README.md
+1 -1
@@ -34,7 +34,7 @@ You won't find all previous features here (yet), but still we got:
34 - search
35 - accounts
36 - resumable downloads
37 -- upload
37 +- resumable uploads
38 - download folders as zip archive
39 - simple website serving
40 - plug-ins
frontend/src/upload.ts
+1 -1
@@ -97,7 +97,7 @@ export function showUpload() {
97 ),
98 qs.map((q,idx) =>
99 h('div', { key: q.to },
100 - h('div', {}, "Destination ", q.to),
100 + h('div', {}, "Destination ", decodeURI(q.to)),
101 h(FilesList, {
102 files: Array.from(q.files),
103 remove(f) {