mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-12-17 09:42:29 +08:00
[filer] Fix uri escape during renaming (#4039)
This commit is contained in:
@@ -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', '');
|
||||
|
||||
Reference in New Issue
Block a user