Commit 4309299f authored by Daniel Teske's avatar Daniel Teske

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: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 5b07847a
...@@ -90,8 +90,8 @@ void FileNameValidatingLineEdit::setAllowDirectories(bool v) ...@@ -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[] = {".."};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment