Sanitize more file name characters

This commit is contained in:
M66B 2019-06-29 15:41:16 +02:00
parent dcce8a89a0
commit c94f272714
1 changed files with 1 additions and 3 deletions

View File

@ -477,9 +477,7 @@ public class Helper {
static String sanitizeFilename(String name) {
if (name == null)
return null;
return name
.replace("\0", "_")
.replace("/", "_");
return name.replaceAll("[?:\"*|/\\\\<>]", "_");
}
static String getExtension(String filename) {