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 a5be01a92..33d431a46 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