Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6.2
-
Component/s: Authentication
-
Labels:None
-
Affected Branches:MOODLE_16_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
This bug is essentially the same as MDL-3992 but concerns the username not the password.
To summarise: LDAP authentication fails for users with quotes (') or other special charactors in their usernames.
Like bug MDL-3992 a solution is to add a stripslashes() call.
In auth_user_login() in auth/ldap/lib.php after the check for blank username || password add the following:
$username = stripslashes( $username );
Issue Links
| This issue will be resolved by: | ||||
| MDL-8590 | Auth cleanup - META |
|
|
|
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
this should be fixed in latest 1.8dev cvs, please test it and report any problems, thanks!