diff options
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -524,7 +524,7 @@ static function _exec_quotevalue($value, $errmsg = "") if (it::match('^-', $result)) it::fatal("leading - in value: " . $errmsg); - return it::match('[^-a-z0-9./_:,]', $result) ? escapeshellarg($result) : $result; + return it::match('^[-a-z0-9./_:,]+$', $result) ? $result : escapeshellarg($result); } |