Re: [whatwg] Stripping newlines from URI attributes

2009-08-04 Thread Ian Hickson
On Thu, 30 Jul 2009, Kartikaya Gupta wrote: > > It seems that most browsers do some sort of newline and tab removal from > URI attributes. For example, if you have > > > > browsers will still render the image called "foobar.jpg" despite the > CRLF pair in the middle of the src attribute. The b

Re: [whatwg] Stripping newlines from URI attributes

2009-07-30 Thread Robert O'Callahan
On Fri, Jul 31, 2009 at 1:34 PM, Alex Henrie wrote: > 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

Re: [whatwg] Stripping newlines from URI attributes

2009-07-30 Thread Alex Henrie
On Wed, Jul 29, 2009 at 6:49 PM, Kartikaya Gupta 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

Re: [whatwg] Stripping newlines from URI attributes

2009-07-30 Thread Philip Taylor
On Thu, Jul 30, 2009 at 2:37 PM, Elliotte Rusty Harold wrote: > On Wed, Jul 29, 2009 at 5:49 PM, Kartikaya > Gupta wrote: >> It seems that most browsers do some sort of newline and tab removal from URI >> attributes. For example, if you have >> >> >> >> browsers will still render the image called

Re: [whatwg] Stripping newlines from URI attributes

2009-07-30 Thread Elliotte Rusty Harold
On Wed, Jul 29, 2009 at 5:49 PM, Kartikaya Gupta wrote: > It seems that most browsers do some sort of newline and tab removal from URI > attributes. For example, if you have > > > > browsers will still render the image called "foobar.jpg" despite the CRLF > pair in the middle of the src attribut

Re: [whatwg] Stripping newlines from URI attributes

2009-07-30 Thread Anne van Kesteren
On Thu, 30 Jul 2009 02:49:01 +0200, Kartikaya Gupta wrote: > It seems that most browsers do some sort of newline and tab removal from > URI attributes. For example, if you have > > > > browsers will still render the image called "foobar.jpg" despite the > CRLF pair in the middle of the src a

[whatwg] Stripping newlines from URI attributes

2009-07-29 Thread Kartikaya Gupta
It seems that most browsers do some sort of newline and tab removal from URI attributes. For example, if you have browsers will still render the image called "foobar.jpg" despite the CRLF pair in the middle of the src attribute. The behavior actually seems a bit more complex; quote from one o