Skip to content

Commit

Permalink
MDL-43430 enrol_ldap: Enrolment lost if member of group with parenthesis
Browse files Browse the repository at this point in the history
As part of fixing MDL-43430, a typo has been detected in the
quoted alphanumeric characters (the '=' and '>' were transposed).
  • Loading branch information
iarenaza committed Nov 5, 2014
1 parent 6ce4b8e commit 9807737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ldaplib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
);
}

Expand Down

0 comments on commit 9807737

Please sign in to comment.