Re: [xsl] Ampersand for URLs

Subject: Re: [xsl] Ampersand for URLs
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Fri, 20 Apr 2001 18:25:09 -0400
Robert Seber wrote -

> The conversion
>
> &amp; --> & is done by the browser
>
> %26 --> & is done by the server
>
 Just to put the last nail in this coffin, I hope, I tried it out.  I
changed an "&" to a "%26" in the url query string in an anchor element.  The
site I tried it on, run on an Apache server, returned an error, while it
accepted it correctly when I restored the "&".  This surprises me, but there
it is.

Both IE5.5 and NS 4.73 on Windows accepted a plain '&' in the url string in
the <a> element - they didn't require the &amp; .

Tom P




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread