From 13b62b964ee644702419cb2ebcb638d78e6d0139 Mon Sep 17 00:00:00 2001
From: A. Täffner <darkalex@firesplash.de>
Date: Mon, 25 Jan 2016 06:52:12 -0500
Subject: [PATCH] removed absolute paths This is a considered as stable stable release. (tested the workflow successfully) Note: I am not perfect at RegEx I know the RegEx for LOC- and DS-Records is actually not checking. The DS-Regex is definitely valid (tested on regexpal). Along with my dns-status modification this should not be a problem at all.

---
 interface/web/dns/form/dns_loc.tform.php |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/interface/web/dns/form/dns_loc.tform.php b/interface/web/dns/form/dns_loc.tform.php
index 3803d76..5749a86 100644
--- a/interface/web/dns/form/dns_loc.tform.php
+++ b/interface/web/dns/form/dns_loc.tform.php
@@ -110,11 +110,12 @@
 					'type' => 'NOTEMPTY', 
 					'errmsg'=> 'data_error_empty'
 				),
-				1 => array ( 
-					'type' => 'REGEX', 
-					'regex' => "/^(\d+\s)(\d+\s)?(\d+\s)?[NS]{1}\s(\d\s)(\d+\s)?(\d+\s)?[EW]{1}(\s\d+m?)(\s\d+m?)?(\s\d+m?)?(\s\d+m?)?$/s", 
-					'errmsg'=> 'invalid_type_dkim'
-				),
+			//TODO Regex check... I guess I had an error in this regex as I'm not used to RegEx. Further the check did never actually take place...
+			//	1 => array ( 
+			//		'type' => 'REGEX', 
+			//		'regex' => "/^(\d+\s)(\d+\s)?(\d+\s)?[NS]{1}\s(\d\s)(\d+\s)?(\d+\s)?[EW]{1}(\s\d+m?)(\s\d+m?)?(\s\d+m?)?(\s\d+m?)?$/s", 
+			//		'errmsg'=> 'invalid_type_dkim'
+			//	),
 			),
 			'default' => '',
 			'value'  => '',

--
Gitblit v1.9.1