LDAP: escape some more chars for proper search filter, fixes #1673
This commit is contained in:
parent
b08894ba77
commit
055fadd10d
|
@ -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