From 1d17b54861bea5d7d448dfd0cd4ba1f764d3b4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Arenaza?= Date: Sat, 13 Sep 2014 02:37:26 +0200 Subject: [PATCH] MDL-43430 enrol_ldap: Enrolment lost if member of group with parenthesis As part of fixing MDL-43430, a typo has been detected in the quoted alphanumeric characters (the '=' and '>' were transposed). --- lib/ldaplib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldaplib.php b/lib/ldaplib.php index 0a941a072ad..370159af79b 100644 --- a/lib/ldaplib.php +++ b/lib/ldaplib.php @@ -337,7 +337,7 @@ function ldap_get_dn_special_chars() { return array ( LDAP_DN_SPECIAL_CHARS => array('\\', ' ', '"', '#', '+', ',', ';', '<', '=', '>', "\0"), LDAP_DN_SPECIAL_CHARS_QUOTED_NUM => array('\\5c','\\20','\\22','\\23','\\2b','\\2c','\\3b','\\3c','\\3d','\\3e','\\00'), - LDAP_DN_SPECIAL_CHARS_QUOTED_ALPHA => array('\\\\','\\ ', '\\"', '\\#', '\\+', '\\,', '\\;', '\\<', '\\>', '\\=', '\\00'), + LDAP_DN_SPECIAL_CHARS_QUOTED_ALPHA => array('\\\\','\\ ', '\\"', '\\#', '\\+', '\\,', '\\;', '\\<', '\\=', '\\>', '\\00'), ); }