lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev linebreaks in attributes


From: Dick Wesseling
Subject: lynx-dev linebreaks in attributes
Date: Fri, 30 Nov 2001 00:34:06 +0100

Lynx Version 2.8.4rel.1 has problems with
 
http://thertcgroupinc.goemerchant2.com/nscgi-bin/thertcgroupinc/index.cgi?Merchant=thertcgroupinc

This page contains the following idiom:

<A href="broken?par1=x
&par2=y">testme </a>

Lynx translates the linebreak into an unencoded space which results in 
a malformed HTTP request.

According to the HTML4 specs one is supposed to replace carriage 
returns with (encoded?) spaces and ignore linefeeds within cdata. So 
technically speaking lynx is correct in this case.
However, Lynx also replaces a linefeed by itself with a space, which is
NOT correct.

So much for theory. In practice the other guys ignore both carriage-and 
linefeed, so the code above is handled as

<A href="broken?par1=x&par=y">testme </a>

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]