summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 7b9e31f..fe86471 100644
--- a/it.class
+++ b/it.class
@@ -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); # avoid reporting null bytes
+ return preg_match('#^[-a-zA-Z0-9./_:,]+$#', $result) ? $result : escapeshellarg($result);
}