From 944afea61749da90ea1b0431deb7f67369f73100 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Sun, 21 Sep 2008 06:38:38 -0400
Subject: [PATCH] Allow Wildcard "*" in DNS A-Records ind DNS Manager.

---
 interface/web/dns/form/dns_a.tform.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/dns/form/dns_a.tform.php b/interface/web/dns/form/dns_a.tform.php
index ead974c..61bf316 100644
--- a/interface/web/dns/form/dns_a.tform.php
+++ b/interface/web/dns/form/dns_a.tform.php
@@ -80,7 +80,7 @@
 			'validators'	=> array ( 	0 => array (	'type'	=> 'NOTEMPTY',
 														'errmsg'=> 'name_error_empty'),
 										1 => array (	'type'	=> 'REGEX',
-														'regex' => '/^[\w\.\-]{1,64}$/',
+														'regex' => '/^[\w\.\-\*]{1,64}$/',
 														'errmsg'=> 'name_error_regex'),
 									),
 			'default'	=> '',

--
Gitblit v1.9.1