W3C home > Mailing lists > Public > www-validator@w3.org > October 2010

Re: [VE][403] Add Subject Here

From: David Dorward <david@dorward.me.uk>
Date: Mon, 4 Oct 2010 10:29:26 +0100
Message-Id: <BD4616B2-B167-4E7D-8C9C-AAC48B15E678@dorward.me.uk>
To: GŁnter Hansen <Hansen@ahp-gmbh.de>, W3C Validator Community <www-validator@w3.org>
On 4 Oct 2010, at 08:29, Philip Taylor (Webmaster, Ret'd) wrote:
> I think it's the unescaped ampersand rather than the ID per se.

It is.

> I'm not sure whether the recommend fix is to escape the ampersand,
> as in "/cgi-bin/cone/cone_wrapper.cgi?TODO=2410&amp;ID*=*201005MHGZuL"
> or to represent it using % notation.

You would use % notation if you wanted a literal & in the URL (as opposed to a separator between a value and the next key of the question string).

Since you want a separator, you just need to represent the URL in HTML, so use &amp;

This is described in the explanation of error message that appears under the error in the validator's report.


-- 
David Dorward
http://dorward.me.uk
Received on Monday, 4 October 2010 09:35:45 GMT

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