Code

Added . to list of characters that will not be encoded
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 Aug 2006 10:36:06 +0000 (10:36 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 Aug 2006 10:36:06 +0000 (10:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4534 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index dd73c2fecff40dabf6c5c6617103d0ae0c1a8f85..0ef15be9aa12359830515909d54fc7cce0a39841 100644 (file)
@@ -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'];