Code

Updated baseSelector
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Apr 2010 09:27:11 +0000 (09:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Apr 2010 09:27:11 +0000 (09:27 +0000)
-Removed slashes from entries with quotes

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17875 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_baseSelector.inc

index ce38b2ac23d9adeaa85a143c4212ce3429ffbfc7..c6ac8d2b70c391cd79e0b85ad5db83010dc4d0e0 100644 (file)
@@ -92,6 +92,7 @@ class baseSelector {
       $elements= array_reverse($elements, true);
 
       $this->pathMapping[$base]= $base == $config->current['BASE']? '/' : ldap::fix(preg_replace('/(^|,)[a-z0-9]+=/i', '/', implode(',', $elements)));
+      $this->pathMapping[$base]= stripslashes(  $this->pathMapping[$base]);
     }
 
     // Save bases to session for autocompletion