Closed
Bug 862121
Opened 12 years ago
Closed 11 years ago
Users with numeric usernames break some AMO features, making them difficult to pinpoint
Categories
(addons.mozilla.org Graveyard :: Collections, defect)
addons.mozilla.org Graveyard
Collections
Tracking
(Not tracked)
RESOLVED
FIXED
2013-04-25
People
(Reporter: jorgev, Unassigned)
Details
(Whiteboard: [spampocalypse])
Here are some examples of collections that were created by spam users:
https://addons.mozilla.org/collections/628212541663/
https://addons.mozilla.org/collections/34772198/
https://addons.mozilla.org/collections/6523114/
https://addons.mozilla.org/collections/329102/
These accounts were already deleted, but the collections continue to appear on listings, many days after the accounts were deleted. Other collections were correctly deleted along with their creators.
We should at least delete all orphaned collections, to clean up all the spam.
Comment 1•12 years ago
|
||
Surprise! Those are not IDs, they are usernames. URL resolution for /collections/ uses usernames only; URL resolution for /user/ treats it as a user ID if it's numeric. So the link to the user profile page won't actually resolve to the creator's account. So for these collections, see:
https://addons.mozilla.org/user/6843762/
https://addons.mozilla.org/user/6914654/
https://addons.mozilla.org/user/6914454/
https://addons.mozilla.org/user/6932928/
| Reporter | ||
Comment 2•12 years ago
|
||
I'll try to delete those users, thanks. So, the bug here is that the username resolution is broken for numeric usernames and pointing to the wrong users, correct?
Comment 3•12 years ago
|
||
Right. Or that we should not allow all-numeric usernames, since it results in this ambiguity.
| Reporter | ||
Updated•12 years ago
|
Summary: Spam collections lingering after users have been deleted → Users with numeric usernames break some AMO features, making them difficult to pinpoint
| Reporter | ||
Updated•12 years ago
|
Whiteboard: [spampocalypse]
Comment 4•11 years ago
|
||
Disallowing numeric usernames seems kinda weird but I don't think it's a big concern and I think changing the behavior of the /user/ lookup at this point would have larger repercussions. To close this bug, let's simply disallow new numeric usernames. If we need to change existing usernames at some point, we can do that in another bug.
Comment 5•11 years ago
|
||
https://github.com/mozilla/olympia/commit/8f92f09f
Creating a user with an all-digit username is now disallowed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•