From: hickert Date: Tue, 29 Aug 2006 10:36:06 +0000 (+0000) Subject: Added . to list of characters that will not be encoded X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0d6c52550d085bd5c8c5789088f8a49a4bf98d91;p=gosa.git Added . to list of characters that will not be encoded git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4534 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc index dd73c2fec..0ef15be9a 100644 --- a/plugins/personal/environment/class_environment.inc +++ b/plugins/personal/environment/class_environment.inc @@ -1015,7 +1015,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'];