W3C home > Mailing lists > Public > www-validator@w3.org > August 2001

Re: Warn about unknown parameters

From: Peter K. Sheerin <pete@petesguide.com>
Date: Wed, 1 Aug 2001 11:14:05 -0700
Message-ID: <005701c11ab5$c8818a20$b323b5ac@cadencesheerin>
To: "Terje Bless" <link@pobox.com>, "Nick Kew" <nick@webthing.com>
Cc: "W3C Validator" <www-validator@w3.org>
> >By what standard is ;1 a CGI param?  Not by anything official.
>
> «Anything official» specified «&» as the separator.
>
> I rest my case... :-)

Wrong! (I think.)

Rebuttal:
(from the HTML 4.01 specification)

--------------------
B.2.2 Ampersands in URI attribute values
The URI that is constructed when a form is submitted may be used as an
anchor-style link (e.g., the href attribute for the A element).
Unfortunately, the use of the "&" character to separate form fields
interacts with its use in SGML attribute values to delimit character entity
references. For example, to use the URI "http://host/?x=1&y=2" as a linking
URI, it must be written <A href="http://host/?x=1&#38;y=2"> or <A
href="http://host/?x=1&amp;y=2">.

We recommend that HTTP server implementors, and in particular, CGI
implementors support the use of ";" in place of "&" to save authors the
trouble of escaping "&" characters in this manner.
--------------------

This says nothing about escaping the semicolon when used as a separator, so
that must mean that his URL was perfectly valid, right?
Received on Wednesday, 1 August 2001 18:43:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:59 GMT