summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-06-16 08:37:20 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-06-16 08:37:20 +0000
commitfbd3bef2248de5785f96d2e7803a6811eee78710 (patch)
treed6f74417f2117d08dd91007408ec74bccfcd2697 /interface-definitions
parent1978946312a36f4913e1e5ea7754668b1c653d09 (diff)
downloadvyos-1x-fbd3bef2248de5785f96d2e7803a6811eee78710.tar.gz
vyos-1x-fbd3bef2248de5785f96d2e7803a6811eee78710.zip
webproxy: T4468: Fix regex for squidguard source-group
Diffstat (limited to 'interface-definitions')
-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>