Permalink
Browse files

Fix for bug 3992 - LDAP password including a quote does not work - cr…

…edits go to Kita
  • Loading branch information...
1 parent 01ce0aa commit 67149b4d2c5746fd530ba19405cbf21c2170f798 martinlanghoff committed Oct 6, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 auth/ldap/lib.php
View
@@ -68,7 +68,7 @@ function auth_user_login ($username, $password) {
}
// Try to bind with current username and password
- $ldap_login = @ldap_bind($ldapconnection, $ldap_user_dn, $password);
+ $ldap_login = @ldap_bind($ldapconnection, $ldap_user_dn, stripslashes($password));
ldap_close($ldapconnection);
if ($ldap_login) {
return true;

0 comments on commit 67149b4

Please sign in to comment.