diff options
author | Daniel Teske <daniel.teske@nokia.com> | 2011-10-17 17:36:53 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@nokia.com> | 2011-10-19 13:30:47 +0200 |
commit | 4309299f6fc6e10eb45254735bbc56ea089a3ed5 (patch) | |
tree | 28f82b4c0105c102a5b7a692e407ae66779f3a5b /src/libs/utils/filenamevalidatinglineedit.cpp | |
parent | 5b07847ae0fb36fcec6195c3e58db44c34dbd1c4 (diff) |
Disallow a few more special shell characters
qmake's quoting of them is broken, thus disallow them
Task-number: QTCREATORBUG-6025
Change-Id: I535f7c59865751bd878b245e4c29f83447b91cce
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/libs/utils/filenamevalidatinglineedit.cpp')
-rw-r--r-- | src/libs/utils/filenamevalidatinglineedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/filenamevalidatinglineedit.cpp b/src/libs/utils/filenamevalidatinglineedit.cpp index a3e83a0594d..fac7c3eb3bd 100644 --- a/src/libs/utils/filenamevalidatinglineedit.cpp +++ b/src/libs/utils/filenamevalidatinglineedit.cpp @@ -90,8 +90,8 @@ void FileNameValidatingLineEdit::setAllowDirectories(bool v) # define SLASHES "/" #endif -static const char notAllowedCharsSubDir[] = "~!?:&*\"|#%<> "; -static const char notAllowedCharsNoSubDir[] = "~!?:&*\"|#%<> "SLASHES; +static const char notAllowedCharsSubDir[] = "~!?:&*\"|#%<>$\"'();`' "; +static const char notAllowedCharsNoSubDir[] = "~!?:&*\"|#%<>$\"'();`' "SLASHES; static const char *notAllowedSubStrings[] = {".."}; |