summaryrefslogtreecommitdiff
path: root/interface-definitions/service_webproxy.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-16 10:55:14 +0200
committerGitHub <noreply@github.com>2022-06-16 10:55:14 +0200
commitfc5c0d5975a0e309301fae50e8aac82ab00e42ae (patch)
treed6f74417f2117d08dd91007408ec74bccfcd2697 /interface-definitions/service_webproxy.xml.in
parent1978946312a36f4913e1e5ea7754668b1c653d09 (diff)
parentfbd3bef2248de5785f96d2e7803a6811eee78710 (diff)
downloadvyos-1x-fc5c0d5975a0e309301fae50e8aac82ab00e42ae.tar.gz
vyos-1x-fc5c0d5975a0e309301fae50e8aac82ab00e42ae.zip
Merge pull request #1363 from sever-sever/T4468
webproxy: T4468: Fix regex for squidguard source-group
Diffstat (limited to 'interface-definitions/service_webproxy.xml.in')
-rw-r--r--interface-definitions/service_webproxy.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/service_webproxy.xml.in b/interface-definitions/service_webproxy.xml.in
index 42f5bba9f..e4609b699 100644
--- a/interface-definitions/service_webproxy.xml.in
+++ b/interface-definitions/service_webproxy.xml.in
@@ -484,7 +484,7 @@
<description>Name of source group</description>
</valueHelp>
<constraint>
- <regex>[^0-9]</regex>
+ <regex>[^0-9][a-zA-Z_][a-zA-Z0-9][\w\-\.]*</regex>
</constraint>
<constraintErrorMessage>URL-filter source-group cannot start with a number!</constraintErrorMessage>
</properties>