Correctly quote group filter

This commit is contained in:
thomascube
2011-08-16 19:36:11 +00:00
parent 5c2ac5f528
commit 94ce75255d

View File

@@ -1314,7 +1314,7 @@ class rcube_ldap extends rcube_addressbook
$base_dn = $this->groups_base_dn;
$contact_dn = base64_decode($contact_id);
$filter = "(member=$contact_dn)";
$filter = strtr("(member=$contact_dn)", array('\\' => '\\\\'));
$this->_debug("C: Search [$filter][dn: $base_dn]");