summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@users.noreply.github.com>2019-08-14 22:12:39 +0200
committerGitHub <noreply@github.com>2019-08-14 22:12:39 +0200
commitb050c7c0751630ed5ab86576f504a29cbec14c40 (patch)
tree3fb369f1eab0c3953d1d1802ae24a6e61d05ed23
parent5074a97cb3f065defc5e0476ec5a436701044f90 (diff)
parent84e0cb1daad5a5a018bba72a193190521cfe7d08 (diff)
downloadMultiMC-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.cpp2
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)
{