summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fileio.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index 2b37dabf2..57affe1fd 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;
}