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_ds.tform.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/interface/web/dns/form/dns_ds.tform.php b/interface/web/dns/form/dns_ds.tform.php
index 274bcfe..fe8528f 100644
--- a/interface/web/dns/form/dns_ds.tform.php
+++ b/interface/web/dns/form/dns_ds.tform.php
@@ -102,13 +102,13 @@
 			'width'  => '5',
 			'maxlength' => '5'
 		),
-		'data' => array ( //TODO Regex validation does not take place obviously
+		'data' => array ( //TODO Regex validation does not take place obviously - why ever...
 			'datatype' => 'VARCHAR',
 			'formtype' => 'TEXT',
 			'validators' => array (  
 				0 => array ( 
 					'type' => 'REGEX', 
-					'regex' => "/^\d{1,5}\s\d{1,2}\s\d{1,2}\s.+$/s", 
+					'regex' => "/^\d{1,5}\s\d{1,2}\s\d{1,2}\s.+$/", 
 					'errmsg'=> 'invalid_type_ds'
 				)
 			),

--
Gitblit v1.9.1