From 5f59d43c889313b7ce29e41f1f44315886d78bbd Mon Sep 17 00:00:00 2001 From: Jiffs Maverick Date: Wed, 7 Dec 2022 17:47:40 +0200 Subject: [PATCH] [filer] Fix uri escape during renaming (#4039) --- weed/server/filer_ui/filer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/server/filer_ui/filer.html b/weed/server/filer_ui/filer.html index ef9ef75fb..28425f180 100644 --- a/weed/server/filer_ui/filer.html +++ b/weed/server/filer_ui/filer.html @@ -337,7 +337,7 @@ } var url = basePath + encodeURIComponent(newName); var originPath = basePath + originName; - url += '?mv.from=' + originPath; + url += '?mv.from=' + encodeURIComponent(originPath); var xhr = new XMLHttpRequest(); xhr.open('POST', url, false); xhr.setRequestHeader('Content-Type', '');