W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 1999

Re: Query strings in links

From: Kent E. Holsinger <kent@darwin.eeb.uconn.edu>
Date: 11 Jun 1999 08:11:21 -0400
To: html-tidy@w3.org
Message-ID: <wk1zfj9bti.fsf@darwin.eeb.uconn.edu>
>>>>> "Matej" == Matej Cepl <Cepl@fpm.cz> writes:

    Matej> The problem is not in TIDY but in your HTML -- every sign &
    Matej> has to be escaped as an HTML entity &amp; . Therefore your
    Matej> A tag should be rather as follows:

    Matej>  <A Matej> HREF="http://www.hp.com/cgi-bin/bob?a=b&amp;c=d">Bob</A>

But if the server is using & as its separator in CGI scripts, the link
will be broken. See

    http://www.cs.duke.edu/~dsb/kgv-faq/errors.html#bad-entity

for more information. The bottom line, if I understand correctly, is
that as long as you refer to web sites that use only & as separators
in CGI scripts, you can't have HTML 4.0 compliant pages :(.

Kent

-- 
Kent E. Holsinger                Kent@Darwin.EEB.UConn.Edu
                                 http://darwin.eeb.uconn.edu
-- Department of Ecology & Evolutionary Biology          
-- University of Connecticut, U-43                                       
-- Storrs, CT   06269-3043                                               
Received on Friday, 11 June 1999 08:08:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT