From: hickert Date: Tue, 21 Sep 2010 06:44:39 +0000 (+0000) Subject: Added + to the ldap special char detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=117d4899220b92e94dcf2cbe2c410a3491829a1d;p=gosa.git Added + to the ldap special char detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19776 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 1046a621c..9e0219e57 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -3792,13 +3792,12 @@ function detectLdapSpecialCharHandling() // In the DN we've to use escaped characters, but the object name (o) // has the be un-escaped. - $name = 'GOsaLdapEncoding_,_"_(_)'; - $dnName = 'GOsaLdapEncoding_\,_\"_(_)'; + $name = 'GOsaLdapEncoding_,_"_(_)_+'; + $dnName = 'GOsaLdapEncoding_\,_\"_(_)_\+'; // Prapare name to be useable in filters $fixed= normalizeLdap(str_replace('\\\\', '\\\\\\', $name)); $filterName = str_replace('\\,', '\\\\,', $fixed); - // Create the target dn $oDN = "o={$dnName},".$config->current['BASE'];