From 294ff9fbe6169ffd3792504ac9f62ba95b05e6a8 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Tue, 15 Apr 2014 04:10:55 -0400
Subject: [PATCH] Fixed: FS#3433 - Check autodiscover URL compatibility
---
interface/web/dns/form/dns_srv.tform.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/interface/web/dns/form/dns_srv.tform.php b/interface/web/dns/form/dns_srv.tform.php
index 2741a5f..2f35fd5 100644
--- a/interface/web/dns/form/dns_srv.tform.php
+++ b/interface/web/dns/form/dns_srv.tform.php
@@ -86,7 +86,7 @@
'type' => 'TOLOWER')
),
'validators' => array ( 0 => array ( 'type' => 'REGEX',
- 'regex' => '/^[a-zA-Z0-9\.\-]{0,255}$/',
+ 'regex' => '/^[a-zA-Z0-9\.\-_]{0,255}$/',
'errmsg'=> 'name_error_regex'),
),
'default' => '',
--
Gitblit v1.9.1