mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
[filer] Fix uri escape during renaming (#4039)
This commit is contained in:
parent
659f28b855
commit
5f59d43c88
|
@ -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', '');
|
||||
|
|
Loading…
Reference in a new issue