Page MenuHomePhabricator

Users with '@' in their username can not have their userrights changed
Closed, DuplicatePublic

Description

Author: Prodego

Description:
The way Special:Userrights is written causes it to stop reading username once it reaches a @ symbol, and then check for the -interwiki right. While this would work on a new installation, it lacks backwards compatibility for wikis that have users with an @ symbol in their username, before this was disallowed. The software thinks you are changing a user at another wiki, not a local user with @ in their name. While a user with the -interwiki right might be able to do username@whatever@wikiname [not tested], this is still an issue.


Version: 1.12.x
Severity: minor
URL: http://en.wikipedia.org/w/index.php?title=Special:Userrights&user=j.sweeton@wnri.com

Details

Reference
bz12602

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:06 PM
bzimport set Reference to bz12602.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

The bug is that the at-sign hasn't yet been removed from existing usernames. It's supposed to be invalid. See bug 12581 (which would also resolve this, so I'll mark this as duplicate).

*** This bug has been marked as a duplicate of bug 12581 ***

ayg wrote:

This can be considered fixed by the fix for bug 13135.

*** This bug has been marked as a duplicate of bug 13135 ***