Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

[filer] Fix uri escape during renaming (#4039)

Jiffs Maverick5f59d43c8893
diff --git a/weed/server/filer_ui/filer.html b/weed/server/filer_ui/filer.html
index ef9ef75fb8..28425f180e 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', '');