diff options
author | Michał Zieliński <michal@zielinscy.org.pl> | 2013-12-02 18:34:32 +0100 |
---|---|---|
committer | Michał Zieliński <michal@zielinscy.org.pl> | 2013-12-07 22:56:02 +0100 |
commit | e7e8c7706240c4bef17533da63df988d228ba127 (patch) | |
tree | 9841b117a79e64f00f6e6165e77ee3a5ec0d65e2 /devel | |
parent | 5dcfa97fb959eda3cb8a41e2bd39e998c30052c8 (diff) | |
download | Nim-e7e8c7706240c4bef17533da63df988d228ba127.tar.gz |
Make quoteIfContainsWhite quote argument, so it can be safely passed to shell.
On Windows put it in double quotes and escape double quotes using backslash. On Posix put it in single quotes and escape single quotes using '"'"'. This commit changes what quoteIfContainsWhite does, but before that change it was used incorrectly all over standard library, which caused security issues.
Diffstat (limited to 'devel')
0 files changed, 0 insertions, 0 deletions