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

Re: Validating CSS on URIs with ampersands

From: David Dorward <david@dorward.me.uk>
Date: Fri, 11 Aug 2006 15:04:17 +0100
To: www-validator-css@w3.org
Cc: "Edward A. Locke" <huygens1962@yahoo.com>
Message-ID: <20060811140417.GA9336@us-lot.org>

On Thu, Aug 10, 2006 at 10:57:38PM -0500, Edward A. Locke wrote:
> I find that I am able to submit URIs with ampersands to the XHTML
> validator, but not the CSS validator.

> This will be evaluated:
> http://validator.w3.org/check?uri=http%3A%2F%2Fspacestamps.amhosting.com%2Fstamps%2Fissue.php%3Fent%3Dnev%26set%3D1

... which gives a "check [your css] for validity" link ...
> This won't:
> http://jigsaw.w3.org/css-validator/validator?uri=http://spacestamps.amhosting.com/stamps/issue.php?ent=nev&set=1

... which doesn't go to that URL, but to:


Certain characters have special meaning in URLs, and & is one of
them. Since you have an & in your URL and you want to pass it as data,
not as a query string parameter separator you need to URL encoded it.

David Dorward                                      http://dorward.me.uk
Received on Friday, 11 August 2006 14:04:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:42 UTC