From 9b94f30c83be11060c35bfc2f7be60f8fdd38548 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 17 Mar 2023 15:50:04 +0100 Subject: actually indicate offending value --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 53d5842..2e5c6f8 100644 --- a/it.class +++ b/it.class @@ -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); } -- cgit v1.2.3