summaryrefslogtreecommitdiff
path: root/interface-definitions/zone-policy.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/zone-policy.xml.in')
-rw-r--r--interface-definitions/zone-policy.xml.in3
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>