From 079ce406293a7e858037102c3e9f47aff443a64a Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Sun, 14 Jan 2018 19:25:29 +0100 Subject: [PATCH] net/haproxy: relax several "name" fields Some "name" fields are used as identifiers in haproxy.conf, these require special care. Others are only used in the GUI and may contain special characters. --- .../mvc/app/models/OPNsense/HAProxy/HAProxy.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 982e9c0ae..798cc4467 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 @@ -863,7 +863,7 @@ - /^([0-9a-zA-Z._]){1,255}$/u + /^[^\t^,^;^\.^\[^\]^\{^\}]{1,255}$/u Should be a string between 1 and 255 characters. Y @@ -1025,7 +1025,7 @@ N - /^([0-9a-zA-Z._]){1,255}$/u + /^[^\t^,^;^\.^\[^\]^\{^\}]{1,255}$/u Should be a string between 1 and 255 characters. Y @@ -1427,7 +1427,7 @@ - /^([0-9a-zA-Z._]){1,255}$/u + /^[^\t^,^;^\.^\[^\]^\{^\}]{1,255}$/u Should be a string between 1 and 255 characters. Y @@ -1681,7 +1681,7 @@ Y - /^([0-9a-zA-Z_\-]){1,255}$/u + /^[^\t^,^;^\.^\[^\]^\{^\}]{1,255}$/u Should be a string between 1 and 255 characters. Y @@ -1701,7 +1701,7 @@ Y - /^([0-9a-zA-Z_\-]){1,255}$/u + /^[^\t^,^;^\.^\[^\]^\{^\}]{1,255}$/u Should be a string between 1 and 255 characters. Y