Page MenuHomePhabricator

Encoding problem with Special:GlobalUserRights
Closed, ResolvedPublic

Description

Hello. When doing some tests at testwiki, trying to change the global group membership of a test account of mine I noticed that after successfully changing the global group permissions of that test account the system gives me an error message saying that there's no user name exists with that name.

I believe this is caused because a encoding bug. Because:

Regards.


Version: unspecified
Severity: normal
URL: https://secure.wikimedia.org/wikipedia/test/wiki/Special:GlobalUserRights

Details

Reference
bz29424

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:36 PM
bzimport set Reference to bz29424.

Looks like the special page is failing to normalize the username format (it should run through Title parsing and get the text form, which contains spaces).

(In reply to comment #1)

Looks like the special page is failing to normalize the username format (it
should run through Title parsing and get the text form, which contains spaces).

Should it? Title normailzation will not work on wikis with disabled title capitalization (while usernames are always capitalized).

Title normalization for user namespace will force to caps, as the User namespace is always capitalized.

Fixed on trunk in r90221; needs backport to 1.17 & 1.18 or else wait 6-12 months for 1.19 to go live.

  • Bug 23046 has been marked as a duplicate of this bug. ***