Merge pull request #2112 from owncloud/fix_1673

LDAP: escape some more chars for proper search filter, fixes #1673
This commit is contained in:
Frank Karlitschek 2013-03-05 06:03:25 -08:00
commit 4830ba8035
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ abstract class Access {
'\;' => '\5c3B',
'\"' => '\5c22',
'\#' => '\5c23',
'(' => '\28',
')' => '\29',
'*' => '\2A',
);
$dn = str_replace(array_keys($replacements), array_values($replacements), $dn);