Merge pull request #2112 from owncloud/fix_1673
LDAP: escape some more chars for proper search filter, fixes #1673
This commit is contained in:
commit
4830ba8035
|
@ -144,6 +144,9 @@ abstract class Access {
|
||||||
'\;' => '\5c3B',
|
'\;' => '\5c3B',
|
||||||
'\"' => '\5c22',
|
'\"' => '\5c22',
|
||||||
'\#' => '\5c23',
|
'\#' => '\5c23',
|
||||||
|
'(' => '\28',
|
||||||
|
')' => '\29',
|
||||||
|
'*' => '\2A',
|
||||||
);
|
);
|
||||||
$dn = str_replace(array_keys($replacements), array_values($replacements), $dn);
|
$dn = str_replace(array_keys($replacements), array_values($replacements), $dn);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue