diff --git a/src/fileio.cpp b/src/fileio.cpp index 2b37dabf22..57affe1fde 100644 --- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -532,6 +532,7 @@ void SanitizeFilename(char *filename) /* The following characters are not allowed in filenames * on at least one of the supported operating systems: */ case ':': case '\\': case '*': case '?': case '/': + case '<': case '>': case '|': case '"': *filename = '_'; break; }