GH-2238 fix issues with whitespace/newlines in folder and instance names

This commit is contained in:
Petr Mrázek
2018-11-01 00:18:49 +01:00
parent d5037d4f79
commit 59e2f52db7
4 changed files with 9 additions and 6 deletions

View File

@ -294,7 +294,7 @@ QString NormalizePath(QString path)
}
}
QString badFilenameChars = "\"\\/?<>:*|!+";
QString badFilenameChars = "\"\\/?<>:*|!+\r\n";
QString RemoveInvalidFilenameChars(QString string, QChar replaceWith)
{