diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-01-30 00:39:12 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2022-01-30 22:25:06 +0100 |
commit | fafd25143d46220c537de8ef514d5954129528eb (patch) | |
tree | 7593e3edb3d590e8d0e2b0b274d404ed6b8379f2 /interface-definitions/zone-policy.xml.in | |
parent | 8532f2c391e895d7cd4c10b6d83d1e26973202a3 (diff) | |
download | vyos-1x-fafd25143d46220c537de8ef514d5954129528eb.tar.gz vyos-1x-fafd25143d46220c537de8ef514d5954129528eb.zip |
firewall: T2199: Add constraint for tagnode names
Diffstat (limited to 'interface-definitions/zone-policy.xml.in')
-rw-r--r-- | interface-definitions/zone-policy.xml.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/zone-policy.xml.in b/interface-definitions/zone-policy.xml.in index dd64c7c16..69ee031c7 100644 --- a/interface-definitions/zone-policy.xml.in +++ b/interface-definitions/zone-policy.xml.in @@ -13,6 +13,9 @@ <format>txt</format> <description>Zone name</description> </valueHelp> + <constraint> + <regex>^[a-zA-Z0-9][\w\-\.]*$</regex> + </constraint> </properties> <children> #include <include/generic-description.xml.i> |