W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 13769] Whitespace-only values should be considered empty in required form fields

From: <bugzilla@jessica.w3.org>
Date: Mon, 15 Aug 2011 18:56:52 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qt2LE-0001QT-2Q@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13769

--- Comment #3 from Aryeh Gregor <ayg@aryeh.name> 2011-08-15 18:56:51 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > Maybe instead we should have a new feature <input trim>.
> 
> Sounds a good idea if the attribute doesn't apply to type=password and interact
> directly with the value sanitization algorithm.

I don't see why it shouldn't apply to type=password.  vBulletin, for instance,
trims password fields.  It's useful to do so if the user copy-pastes a
password, like from a password reset e-mail, and accidentally gets a leading or
trailing space.  It may or may not be ideal, but it shouldn't be prohibited.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 15 August 2011 18:56:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:16 UTC