diff options
author | Urban Müller | 2023-03-17 15:50:04 +0100 |
---|---|---|
committer | Urban Müller | 2023-03-17 15:50:04 +0100 |
commit | 9b94f30c83be11060c35bfc2f7be60f8fdd38548 (patch) | |
tree | 0066ea795790dac630d06fa6aaf17a08047b66cb | |
parent | 0d0140c0de98de28106610e58aa8bebc07566a85 (diff) | |
download | itools-9b94f30c83be11060c35bfc2f7be60f8fdd38548.tar.gz itools-9b94f30c83be11060c35bfc2f7be60f8fdd38548.tar.bz2 itools-9b94f30c83be11060c35bfc2f7be60f8fdd38548.zip |
actually indicate offending value
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -763,7 +763,7 @@ static function _exec_quotevalue($value, $errmsg = "") $result = strval($value); if (it::match('^-', $result)) - it::fatal("leading - in value: " . $errmsg); + it::fatal("leading - in value '$result': " . $errmsg); return preg_match('#^[-a-zA-Z0-9./_:,]+$#', $result) ? $result : escapeshellarg($result); } |