From 0d6c52550d085bd5c8c5789088f8a49a4bf98d91 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 29 Aug 2006 10:36:06 +0000 Subject: [PATCH] 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 --- 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 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']; -- 2.30.2