summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-16 19:36:11 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-16 19:36:11 +0000
commite6c27cb388c3dcb5a8437cb1f8c65cb81c585b3f (patch)
tree37514188f6fcb4a73875e2191b3dc86f0555ad21 /roundcubemail/program/include
parent4475cbe0d686f7103499ea8e2576896e2087ae1f (diff)
Correctly quote group filter
git-svn-id: https://svn.roundcube.net/trunk@5074 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rw-r--r--roundcubemail/program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php
index 26d58f468..c363dc572 100644
--- a/roundcubemail/program/include/rcube_ldap.php
+++ b/roundcubemail/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]");