Closed Bug 1145716 Opened 9 years ago Closed 9 years ago

The spaces are accepted in the "Username" field in the Registration form

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dina.kolesn, Unassigned)

Details

Attachments

(1 file)

Attached image UserNameField.png
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150305021524

Steps to reproduce:

1. Open the https://addons-dev.allizom.org/en-US/firefox/users/register registration page 
2. Type the 4 spaces before the text and 4 spaces after ("    name_user    ") in the "Username" field
3. Enter the the other required fields with the valid data 
4. Click the "Register" button
5. Look at the "Congratulations! Your user account was successfully created. " message


Actual results:

The spaces are accepted in the "Username" field in the Registration form


Expected results:

The spaces are not accepted in the "Username" field in the Registration form
OS: All → Windows 8.1
Hardware: All → x86_64
This is not a security bug.
Group: client-services-security
as filed, this isn't a bug unless it's causing something to break.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
"   Mary" and "Mary    " are accepted as usernames but "Mary Mary" is not accepted. I think that is what Dina has filed the bug about.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: