summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9caeb40)
raw | patch | inline | side by side (parent: 9caeb40)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Feb 2010 07:03:03 +0000 (07:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 2 Feb 2010 07:03:03 +0000 (07:03 +0000) |
-We can now create departments with ',' automatically. This is required for snaptshots of objects in departments with ','
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15566 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15566 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ldap.inc | patch | blob | history |
index 1f2baab3e41cfef1fa6d308329bb6b7b27c4fcd6..80cb94f32264260ac5b108947b78c06b9f3661c2 100644 (file)
} else {
$type= preg_replace('/^([^=]+)=.*$/', '\\1', $cdn);
- $param= preg_replace('/^[^=]+=([^,]+).*$/', '\\1', $cdn);
+ $param= LDAP::fix(preg_replace('/^[^=]+=([^,]+).*$/', '\\1', $cdn));
+ $param=preg_replace(array('/\\\\,/','/\\\\"/'),array(',','"'),$param);
$na= array();