Code

gotoShares are base64 coded now
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Sep 2005 13:11:48 +0000 (13:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Sep 2005 13:11:48 +0000 (13:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1289 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_environment.inc

index 7c80034ecd1c0b78a4c4ae93375ef1de3559823c..64b31c7bfdba82a3d8c4c2be4e45fc604cd8bd39 100644 (file)
@@ -141,7 +141,7 @@ class environment extends plugin
         $tmp = $tmp2 = array();
         $tmp = split("\|",$share);
         $tmp2['name']      =$tmp[0];
-        $tmp2['mountPoint']=$tmp[1];
+        $tmp2['mountPoint']=base64_decode($tmp[1]);
         $this->gotoShares[$tmp[0]]=$tmp2;
       }
     }
@@ -821,7 +821,7 @@ class environment extends plugin
     /* Prepare Shares */
     $this->attrs['gotoShare']=array();
     foreach($this->gotoShares as $name => $share){
-      $this->attrs['gotoShare'][] = $share['name']."|".$share['mountPoint'];
+      $this->attrs['gotoShare'][] = $share['name']."|".base64_encode($share['mountPoint']);
     }
 
     if(!empty($this->gotoKioskProfile)){