This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12682 - Value sanitization algorithm for e-mail state should strip leading and trailing white spaces
Summary: Value sanitization algorithm for e-mail state should strip leading and traili...
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 09:40 UTC by Mounir Lamouri
Modified: 2011-08-12 23:32 UTC (History)
5 users (show)

See Also:


Attachments

Description Mounir Lamouri 2011-05-18 09:40:05 UTC
I think value sanitization for e-mail state when multiple attribute isn't set should be:

The value sanitization algorithm is as follows: Strip line breaks from the value, then strip leading and trailing whitespace from the value.

I do not see any reason to not do that. It may reduce errors and it will be consistent with the URL state.
Comment 1 Michael[tm] Smith 2011-08-04 05:12:37 UTC
mass-move component to LC1
Comment 2 Ian 'Hixie' Hickson 2011-08-12 23:31:33 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 3 contributor 2011-08-12 23:32:18 UTC
Checked in as WHATWG revision r6441.
Check-in comment: strip spaces from around type=email values, since we already do for type=url and type=email multiple.
http://html5.org/tools/web-apps-tracker?from=6440&to=6441