From 75c7502c340b8335e50e153643855888cddbca32 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 27 Jul 2026 21:25:21 +0000 Subject: [PATCH] mkdir: translit illegals instead of failing --- copyparty/httpcli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 8d8fdbba..eff142df 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -3739,7 +3739,7 @@ class HttpCli(object): def _mkdir(self, vpath: str, dav: bool = False) -> bool: nullwrite = self.args.nw self.gctx = vpath - vpath = undot(vpath) + vpath = sanitize_vpath(undot(vpath)) vfs, rem = self.asrv.vfs.get(vpath, self.uname, False, True) if "nosub" in vfs.flags: raise Pebkac(403, "mkdir is forbidden below this folder")