Fix regression from r54429 "(bug 17864 + bug 19519) - Do input normalization on the...
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 29 Sep 2009 17:27:21 +0000 (17:27 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 29 Sep 2009 17:27:21 +0000 (17:27 +0000)
commit5e667a6b56929fe3141749189d642de5a9a32463
tree1879df02073f95169bb283aefeb6cc70abb5dc85
parent4aa6b6dd925382bb6c0a8681060f6146b0ea5da4
Fix regression from r54429 "(bug 17864 + bug 19519) - Do input normalization on the username before doing existence/permission checks"

This did some overactive canonicalization of the input username before username and database were split, breaking access to remote users where the database name contained an underscore -- it was changed to space.
This would also have broken numeric access, I think, but I didn't bother to test that. :)
Fix moves the username canonicalization down into fetchUser() after we split the name and database, so we now can access remote folks via non-canonical forms and we don't break the dbnames.
includes/specials/SpecialUserrights.php