Request new password form should strip surrounding white space.

NEW
Unassigned

Status

()

Bugzilla
User Accounts
3 years ago
3 years ago

People

(Reporter: tallus, Unassigned)

Tracking

Details

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150125222008

Steps to reproduce:

Enter an email address in the form using a mobile phone keyboard. 

Such keyboards will typically:
automatically add a space at the end of words.
Store  email addresses as words if you type them in a lot.


Actual results:

An error page was displayed telling me the email address was incorrectly formatted.


Expected results:

Surrounding white space should have been stripped, preventing the error from occurring.

Note: Version Number: what ever is being currently used on bugzilla.mozilla.org

Updated

3 years ago
Severity: normal → enhancement

Comment 1

3 years ago
I can reproduce with master. All other user fields I tested correctly trim whitespaces. Also, this field is missing type=email. Note that Firefox doesn't do its job correctly related to email fields, see bug 1132142 (and bug 657702 comment 8).
Assignee: general → user-accounts
Severity: enhancement → normal
Status: UNCONFIRMED → NEW
Component: Bugzilla-General → User Accounts
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.