summaryrefslogtreecommitdiff
path: root/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-08-16 19:36:11 +0000
committerthomascube <thomas@roundcube.net>2011-08-16 19:36:11 +0000
commit94ce75255df599b4ea3f8232cb9cdc12efda2507 (patch)
treeace39cce2fa762878890312ac225bbae6f98b6bd /program/include/rcube_ldap.php
parent5c2ac5f528ef39c3e4ae6aab81e4ff93eabc6ac5 (diff)
Correctly quote group filter
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r--program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 26d58f468..c363dc572 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -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]");