mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -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))
|
||||
continue;
|
||||
|
||||
md[k] = (md[k] + '').replace(/[\/\\]/g, '-');
|
||||
|
||||
if (k.startsWith('.'))
|
||||
md[k.slice(1)] = md[k];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue