mozilla/browserid — Issue #583: not recognizing email address with leading whitespace on diresworb.org
Author: tonychung
Created: 2011-11-15 20:54:52+00:00
State: open
Labels: ★★

If you add leading whitespace to an email address on the diresworb.org sign in, it throws a user error: "This field must be an email address". we should validate despite whitespace.

See screenshot

http://i.imgur.com/DgEah.png

REpro:
1) go to diresworb and click sign in
2) in the email field, add a few leading whitespaces first, then type in a valid email address
3) Verify client error shows: "This field must be an email address".

Expected:
- leading whitespace shoudl be ignored, and email validated correctly