net/relayd - limit virtual server names to 31 characters, closes https://github.com/opnsense/plugins/issues/3916
This commit is contained in:
parent
aa92218d6a
commit
e7602ec2ad
|
@ -1,6 +1,6 @@
|
|||
PLUGIN_NAME= relayd
|
||||
PLUGIN_VERSION= 2.8
|
||||
PLUGIN_REVISION= 3
|
||||
PLUGIN_REVISION= 4
|
||||
PLUGIN_DEPENDS= relayd
|
||||
PLUGIN_COMMENT= Relayd Load Balancer
|
||||
PLUGIN_MAINTAINER= frank.brendel@eurolog.com
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<model>
|
||||
<mount>//OPNsense/relayd</mount>
|
||||
<version>1.0.5</version>
|
||||
<version>1.0.6</version>
|
||||
<description>Relayd settings</description>
|
||||
<items>
|
||||
<general>
|
||||
|
@ -145,8 +145,8 @@
|
|||
<virtualserver type="ArrayField">
|
||||
<name type="TextField">
|
||||
<Required>Y</Required>
|
||||
<mask>/^([0-9a-zA-Z\._\- ]){1,255}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 255 characters. Allowed characters are letters and numbers as well as underscore, minus, dot and space.</ValidationMessage>
|
||||
<mask>/^([0-9a-zA-Z\._\- ]){1,31}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 31 characters. Allowed characters are letters and numbers as well as underscore, minus, dot and space.</ValidationMessage>
|
||||
<Constraints>
|
||||
<check001>
|
||||
<ValidationMessage>Virtual server names should be unique.</ValidationMessage>
|
||||
|
|
Loading…
Reference in New Issue