Installer changes the case of MySQL usernames

Bug #687239 reported by Alex Harrington
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Low
Alex Harrington
1.2
Fix Released
Low
Alex Harrington
1.3
Fix Released
Low
Alex Harrington

Bug Description

Installer uses Kit's _USERNAME type to validate the MySQL usernames we get, however MySQL usernames are case sensitive so converting to lower case isn't helpful.

Work around as follows:
In install.php, on line 185, change it from this:
$db_user = Kit::GetParam('db_username',_POST,_USERNAME);
to
$db_user = Kit::GetParam('db_username',_POST,_PASSWORD);

and on line 192, change from this:
$db_admin_user = Kit::GetParam('admin_username',_POST,_USERNAME);
to
$db_admin_user = Kit::GetParam('admin_username',_POST,_PASSWORD);

Related branches

Changed in xibo:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.