From ebfd8e5e6ef64f86291b28ad08225fb497c32655 Mon Sep 17 00:00:00 2001 From: hagbard Date: Thu, 16 Jan 2020 08:38:44 -0800 Subject: snmpd: T1964: forbid whitespace in script extension identifier (cherry picked from commit 742da889afa4375d5b6cb98dada7f2d3ec2f0326) --- interface-definitions/snmp.xml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'interface-definitions/snmp.xml') diff --git a/interface-definitions/snmp.xml b/interface-definitions/snmp.xml index 821d1367d..fcc733c6c 100644 --- a/interface-definitions/snmp.xml +++ b/interface-definitions/snmp.xml @@ -585,16 +585,24 @@ Extension name + + ^[a-z0-9\.\-\_]+ + + Script extension contains invalid characters - - Script location and name - - - - - + + Script location and name + + + + + ^[a-z0-9\.\-\_\/]+ + + Script extension contains invalid characters + + -- cgit v1.2.3