summaryrefslogtreecommitdiff
path: root/interface-definitions/firewall.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-10 19:53:31 +0200
committerGitHub <noreply@github.com>2022-06-10 19:53:31 +0200
commit007953d36388f904e31b04ffdb854e8e5602cc0d (patch)
treedd13d7fdfbb7d75524e44bcc26e5317f2f95031a /interface-definitions/firewall.xml.in
parentfcad9572e880ab5dd71636e0aa4842dc8997bc44 (diff)
parent76684692f8976aa567cf896586b4e6d3b00385f9 (diff)
downloadvyos-1x-007953d36388f904e31b04ffdb854e8e5602cc0d.tar.gz
vyos-1x-007953d36388f904e31b04ffdb854e8e5602cc0d.zip
Merge pull request #1354 from sever-sever/T970
firewall: T970: Fix for Regex for domain and check empty group
Diffstat (limited to 'interface-definitions/firewall.xml.in')
-rw-r--r--interface-definitions/firewall.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in
index 63095bc20..3250794d3 100644
--- a/interface-definitions/firewall.xml.in
+++ b/interface-definitions/firewall.xml.in
@@ -117,7 +117,7 @@
<description>Domain address to match</description>
</valueHelp>
<constraint>
- <regex>[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}?(\/.*)?</regex>
+ <regex>[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,99}?(\/.*)?</regex>
</constraint>
<multi/>
</properties>