mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #20521
[Bug 1364170] Re: Parent auth fails due to mixed case checking
Hi Son
To test:
1) have a user with a username that has an uppercase char in the name.
2) set up an institution that has xmlrpc auth as well as another auth as parent auth and add user to the institution
3) have remoteauthname set for the user for parent auth and try logging in via xmlrpc with that username
currently the check when a parent auth is available checks the
lowercase(username) against the same username not lowecased and so
should throw an error
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1364170
Title:
Parent auth fails due to mixed case checking
Status in Mahara ePortfolio:
In Progress
Status in Mahara 1.7 series:
Confirmed
Status in Mahara 1.8 series:
Confirmed
Status in Mahara 1.9 series:
Confirmed
Bug description:
Currently in the auth/user.php [around line 187] there is a query
that is matching lower(username) against username
At the very least it should be lower(u.username) against us.username
however the whole sql query could be tidied up to function better.
Normally, usernames are email addresses and are stored as lowecase
strings - but sometimes you need a username that is not lowercase and
so this check fails.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1364170/+subscriptions
References