The webservice mahara_view_external.php looks to check for a user wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Doris Tam | ||
20.10 |
Fix Released
|
High
|
Unassigned | ||
21.04 |
Fix Released
|
High
|
Unassigned | ||
21.10 |
Fix Released
|
High
|
Unassigned | ||
22.04 |
Fix Released
|
High
|
Doris Tam |
Bug Description
We store username and email in Mahara in lowercase and therefore compare passed in username or email against the database as lowercase versions.
However in webservices it looks like we don't do that and just compare what is passed in so if we have $value['username'] = 'ExamplePerson' it won't match on the person in the database with 'exampleperson' but it should as usernames are lowercase unique in the database.
Need to update the checkuser() functions in
webservice/
webservice/
webservice/
webservice/
So that those functions check the username and email in a lowercase fashion
Changed in mahara: | |
importance: | Undecided → High |
assignee: | nobody → Doris Tam (doristam) |
milestone: | none → 22.04.0 |
status: | New → Confirmed |
https:/ /reviews. mahara. org/c/mahara/ +/12525