From 5e4460810c0018fe760622ac644150fcbbba1d16 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Mon, 23 Jun 2025 17:31:29 +0300 Subject: [PATCH] util: no escaping, except backslash --- frontend/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/util.lua b/frontend/util.lua index 476895d58..7e22edddf 100644 --- a/frontend/util.lua +++ b/frontend/util.lua @@ -955,7 +955,7 @@ end ---- @treturn string sanitized filename local function replaceAllInvalidChars(str) if str then - return str:gsub('[\\%/:%*%?%"%<%>%|]', '_') + return str:gsub('[\\/:*?"<>|]', '_') end end