Last modified: 2013-02-05 11:49:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42024, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40024 - $wgAuth->getCanonicalName() is evil and should die in a fire
$wgAuth->getCanonicalName() is evil and should die in a fire
Status: NEW
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-05 21:10 UTC by Ryan Lane
Modified: 2013-02-05 11:49 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ryan Lane 2012-09-05 21:10:03 UTC
$wgAuth->getCanonicalName() is meant to allow authentication plugins to munge a user name from the login name to a mediawiki name. Unfortunately, getCanonicalName is also used for a million other things, like page titles, and checking the validity of user names.

Overloading this function for munging names in auth plugins and for checking validity of usernames and page titles causes an incredible number of bugs. We really need some better method of handling this.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links