forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -90,8 +90,8 @@ void FileNameValidatingLineEdit::setAllowDirectories(bool v)
|
|||||||
# define SLASHES "/"
|
# define SLASHES "/"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const char notAllowedCharsSubDir[] = "~!?:&*\"|#%<> ";
|
static const char notAllowedCharsSubDir[] = "~!?:&*\"|#%<>$\"'();`' ";
|
||||||
static const char notAllowedCharsNoSubDir[] = "~!?:&*\"|#%<> "SLASHES;
|
static const char notAllowedCharsNoSubDir[] = "~!?:&*\"|#%<>$\"'();`' "SLASHES;
|
||||||
|
|
||||||
static const char *notAllowedSubStrings[] = {".."};
|
static const char *notAllowedSubStrings[] = {".."};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user