diff options
author | Petr Mrázek <peterix@users.noreply.github.com> | 2019-08-14 22:12:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-14 22:12:39 +0200 |
commit | b050c7c0751630ed5ab86576f504a29cbec14c40 (patch) | |
tree | 3fb369f1eab0c3953d1d1802ae24a6e61d05ed23 | |
parent | 5074a97cb3f065defc5e0476ec5a436701044f90 (diff) | |
parent | 84e0cb1daad5a5a018bba72a193190521cfe7d08 (diff) | |
download | MultiMC-b050c7c0751630ed5ab86576f504a29cbec14c40.tar MultiMC-b050c7c0751630ed5ab86576f504a29cbec14c40.tar.gz MultiMC-b050c7c0751630ed5ab86576f504a29cbec14c40.tar.lz MultiMC-b050c7c0751630ed5ab86576f504a29cbec14c40.tar.xz MultiMC-b050c7c0751630ed5ab86576f504a29cbec14c40.zip |
Merge pull request #2803 from kb-1000/escape-semicolon
Escape ; too in instance folder names
-rw-r--r-- | api/logic/FileSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/FileSystem.cpp b/api/logic/FileSystem.cpp index 49af2927..13f05b86 100644 --- a/api/logic/FileSystem.cpp +++ b/api/logic/FileSystem.cpp @@ -299,7 +299,7 @@ QString NormalizePath(QString path) } } -QString badFilenameChars = "\"\\/?<>:*|!+\r\n"; +QString badFilenameChars = "\"\\/?<>:;*|!+\r\n"; QString RemoveInvalidFilenameChars(QString string, QChar replaceWith) { |