[whatwg] Stripping newlines from URI attributes

On Wed, Jul 29, 2009 at 6:49 PM, Kartikaya Gupta
<lists.whatwg at stakface.com>wrote:

> This behavior doesn't seem to be specced anywhere as far as I can tell.
> Assuming the WEBADDRESSES spec referred to in HTML5 is the one at
> http://www.w3.org/html/wg/href/draft.html that only says to trim
> leading/trailing whitespace and url-encode the rest. This doesn't seem to
> match existing behavior, so it should probably be updated.

RFC 3986, which is referenced in the Web addresses specification, states "In
some cases, extra whitespace (spaces, line-breaks, tabs, etc.) may have to
be added to break a long URI across lines. The whitespace should be ignored
when the URI is extracted." Firefox's behavior appears to be consistent with

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090730/30d13166/attachment.htm>

Received on Thursday, 30 July 2009 18:34:34 UTC