mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
dont let tags imply subdirectories when renaming
This commit is contained in:
parent
9ad3af1ef6
commit
802efeaff2
|
@ -2644,6 +2644,8 @@ var fileman = (function () {
|
||||||
if (!md.hasOwnProperty(k))
|
if (!md.hasOwnProperty(k))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
md[k] = (md[k] + '').replace(/[\/\\]/g, '-');
|
||||||
|
|
||||||
if (k.startsWith('.'))
|
if (k.startsWith('.'))
|
||||||
md[k.slice(1)] = md[k];
|
md[k.slice(1)] = md[k];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue