fixed escapeDN()
This commit is contained in:
parent
734d74f9a6
commit
dd6acb4906
|
@ -529,6 +529,7 @@ function get_preg($argument, $regexp) {
|
|||
* @return String escaped DN
|
||||
*/
|
||||
function escapeDN($dn) {
|
||||
$dn = preg_replace('/[ ]*,[ ]*/', ',', $dn);
|
||||
return str_replace(
|
||||
array(')', '(', ' ', '*'),
|
||||
array('\\29', '\\28', '\\20', '\\2a'),
|
||||
|
|
Loading…
Reference in New Issue