Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php |
— | — | @@ -1839,8 +1839,8 @@ |
1840 | 1840 | function getLdapEscapedString( $string ) { |
1841 | 1841 | // Make the string LDAP compliant by escaping *, (, ) , \ & NUL |
1842 | 1842 | return str_replace( |
1843 | | - array( "*", "(", ")", "\\", "\x00" ), // replace this |
1844 | | - array( "\\2a", "\\28", "\\29", "\\5c", "\\00" ), // with this |
| 1843 | + array( "\\", "(", ")", "*", "\x00" ), // replace this |
| 1844 | + array( "\\5c", "\\28", "\\29", "\\2a", "\\00" ), // with this |
1845 | 1845 | $string // in this |
1846 | 1846 | ); |
1847 | 1847 | } |