Browse Source

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

pull/4042/head
Jiffs Maverick 2 years ago
committed by GitHub
parent
commit
5f59d43c88
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      weed/server/filer_ui/filer.html

2
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', '');

Loading…
Cancel
Save