From 742da889afa4375d5b6cb98dada7f2d3ec2f0326 Mon Sep 17 00:00:00 2001 From: hagbard Date: Thu, 16 Jan 2020 08:38:44 -0800 Subject: snmpd: T1964: SNMP Script-extensions allows names with spaces, but commit fails --- interface-definitions/snmp.xml.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'interface-definitions/snmp.xml.in') diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in index c0350d256..4c6a993b2 100644 --- a/interface-definitions/snmp.xml.in +++ b/interface-definitions/snmp.xml.in @@ -601,6 +601,10 @@ Extension name + + ^[a-z0-9\.\-\_]+ + + Script extension contains invalid characters @@ -609,6 +613,10 @@ + + ^[a-z0-9\.\-\_\/]+ + + Script extension contains invalid characters -- cgit v1.2.3