From 5d606d4b3b3527e529c8840ad67813702311cdb2 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 15 Sep 2006 05:00:41 +0000 Subject: [PATCH] Applied patch from GOsa2.5 revision 4535. "Don't encode shares containing . in path" git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4671 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_environment.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index 0245be815..9313760ba 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -1113,7 +1113,7 @@ class environment extends plugin $this->attrs['gotoShare']=array(); foreach($this->gotoShares as $name => $share){ $mntp= $share['mountPoint']; - if (!preg_match('=^[a-z0-9+_/%-]+$=i', $mntp)){ + if (!preg_match('=^[a-z0-9+\._/%-]+$=i', $mntp)){ $mntp= base64_encode($mntp); } $this->attrs['gotoShare'][] =$share['server']."|".$share['name']."|".$mntp."|".$share['PwdHash']."|".$share['Username']; -- 2.30.2