diff options
author | Urban Müller | 2020-06-26 23:45:09 +0200 |
---|---|---|
committer | Urban Müller | 2020-06-26 23:45:09 +0200 |
commit | 109c2f39509600e7344124b0ce2152538a8c7e51 (patch) | |
tree | 906ba3d4ac95c08815b0026fd06635464208aadb /it.class | |
parent | a7adf808597c0ff5bf22ece6dda451d486a4ef34 (diff) | |
download | itools-109c2f39509600e7344124b0ce2152538a8c7e51.tar.gz itools-109c2f39509600e7344124b0ce2152538a8c7e51.tar.bz2 itools-109c2f39509600e7344124b0ce2152538a8c7e51.zip |
avoid reporting null bytes in it::exec
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -719,7 +719,7 @@ static function _exec_quotevalue($value, $errmsg = "") if (it::match('^-', $result)) it::fatal("leading - in value: " . $errmsg); - return preg_match('#^[-a-zA-Z0-9./_:,]+$#', $result) ? $result : escapeshellarg($result); + return preg_match('#^[-a-zA-Z0-9./_:,]+$#', $result) ? $result : @escapeshellarg($result); # avoid reporting null bytes } |