https://bugzilla.wikimedia.org/show_bug.cgi?id=40024
Web browser: ---
Bug #: 40024
Summary: $wgAuth->getCanonicalName() is evil and should die in
a fire
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: User login
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Mobile Platform: ---
$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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l