mirror of
https://github.com/9001/copyparty.git
synced 2026-11-25 21:51:12 +00:00
dont let tags imply subdirectories when renaming
This commit is contained in:
1 parent
9ad3af1ef6
commit
802efeaff2
1 file changed
+2
@@ -2644,6 +2644,8 @@ var fileman = (function () {
|
||||
if (!md.hasOwnProperty(k))
|
||||
continue;
|
||||
|
||||
md[k] = (md[k] + '').replace(/[\/\\]/g, '-');
|
||||
|
||||
if (k.startsWith('.'))
|
||||
md[k.slice(1)] = md[k];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user