mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
sysutils/nut: only allow specific chars as name (#1631)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= nut
|
||||
PLUGIN_VERSION= 1.6
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_COMMENT= Network UPS Tools
|
||||
PLUGIN_DEPENDS= nut
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
<name type="TextField">
|
||||
<default>UPSName</default>
|
||||
<Required>Y</Required>
|
||||
<mask>/^([0-9a-zA-Z._\-]){1,128}$/u</mask>
|
||||
<ValidationMessage>The name should only contain alphanumeric characters, dashes, underscores or a dot.</ValidationMessage>
|
||||
</name>
|
||||
<listen type="CSVListField">
|
||||
<default>127.0.0.1,::1</default>
|
||||
|
||||
Reference in New Issue
Block a user