From 8ece4c879795bb31875ce9ce3d3b1e06a86ef6ec Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Tue, 21 May 2019 13:57:23 +0200 Subject: [PATCH] net/haproxy: allow hyphens, closes #1346 --- .../opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml b/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml index a5be01a923..33d431a46c 100644 --- a/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml +++ b/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml @@ -336,7 +336,7 @@ Y - /^([0-9a-zA-Z._]){1,255}$/u + /^([0-9a-zA-Z._\-]){1,255}$/u Should be a string between 1 and 255 characters. @@ -697,7 +697,7 @@ Y - /^([0-9a-zA-Z._]){1,255}$/u + /^([0-9a-zA-Z._\-]){1,255}$/u Should be a string between 1 and 255 characters. @@ -1013,7 +1013,7 @@ Y - /^([0-9a-zA-Z._]){1,255}$/u + /^([0-9a-zA-Z._\-]){1,255}$/u Should be a string between 1 and 255 characters. Y