Re: [htdig] Ampersand in URL

Subject: Re: [htdig] Ampersand in URL
From: Benjamin Smedberg (
Date: Mon Jan 17 2000 - 09:51:03 PST

> The second is when a page's author has mistakenly marked up a bare '&' in
> the URL as '&'. This is - of course - wrong, and htdig does not
> find the page. For example:
> 11:11:2: not found
> However, Netscape Navigator 4.05 (and probably other browsers) fixes
> this up and presents a link to

> Is there an alternative to trying to persuade authors that their URLs
> are wrong even though they work with the usual browsers?

HTML entities are supposed to be escaped, even in a URL string which is
included in a tag, so the proper HTML for the above link is:

<A HREF="">

And so the author is correct. Reference in the HTML 4.01 spec is below.

+ Benjamin Smedberg
+ CUA Web Developer
+ -
+ Then pealed the bells more loud and deep:
+ "God is not dead, nor doth He sleep;
+ The wrong shall fail, the right prevail,
+ With peace on earth, good will to men."

To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Mon Jan 17 2000 - 09:46:02 PST