From 71abb2857a5020cf65ee5c3bdcdf521918e70435 Mon Sep 17 00:00:00 2001 From: Gareth Palmer Date: Wed, 23 Jun 2021 10:25:09 +1200 Subject: [PATCH] Add 0-9 range to Key URI regexp. --- cgiexecute | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgiexecute b/cgiexecute index e13296f..5716079 100755 --- a/cgiexecute +++ b/cgiexecute @@ -148,7 +148,7 @@ def main(): url, priority = argument, 0 if not re.search(r'(?x) ^ (?: (?: Dial | EditDial) : [0-9#*]+' - r' | (?: Key | SoftKey | Init) : [a-zA-Z]+' + r' | (?: Key | SoftKey | Init) : [a-zA-Z0-9]+' r' | Play : [a-zA-Z0-9._\-]+' r' | Display : (?: Off | On | Default) (:? : [0-9]+)?' r' | https? :// [^ ]+) $', url):