util: enable comma in filenames (#13985)

This commit is contained in:
hius07 authored and GitHub committed 2025-06-23 20:53:33 +02:00
1 parent b2895731f1
commit a4bb9d688b
1 file changed
+1 -1
+1 -1
View File
@@ -955,7 +955,7 @@ end
---- @treturn string sanitized filename
local function replaceAllInvalidChars(str)
if str then
return str:gsub('[\\,%/,:,%*,%?,%",%<,%>,%|]','_')
return str:gsub('[\\/:*?"<>|]', '_')
end
end