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

Re: Flagging & in URL in HTML 4.01 transitional type.

From: Karl Ove Hufthammer <huftis@bigfoot.com>
Date: Fri, 8 Jun 2001 22:50:26 +0200
Message-ID: <001101c0f05c$a6332100$ec448ed5@huftis>
To: "Peter K. Sheerin" <pete@petesguide.com>, <www-validator@w3.org>
----- Original Message -----
From: "Peter K. Sheerin" <pete@petesguide.com>
To: <www-validator@w3.org>
Sent: Friday, June 08, 2001 9:36 PM
Subject: Re: Flagging & in URL in HTML 4.01 transitional type.

> While the use of &amp; for escaping (and &#32;) it theoretically works, I
> have found that not all browsers correctly handle such URLs when pasted into
> the address field.

They shouldn't!

The actual URL is <URL: http://...&.../ >. It's only when it's written in HTML
(or XML) that the & must be escaped to <URL: http://...&amp;.../ >. But if you
paste the address with &amp; in the address bar, you're telling the browser to
go to <URL: http://...&amp;.../ >, which would be written as <URL:
http://...&amp;amp;.../ > in HTML.

All browsers except an old Mac browser and an early version of Amaya support
&amp; in 'href' attributes.
Received on Friday, 8 June 2001 16:51:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:30 UTC