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

At 2001-06-08T12:36-0700, Peter K. Sheerin wrote:-

> What I have found seems to work reliably (though through admittedly limited
> testing) is the first method of escaping characters in URLs that I was
> taught years ago--the %hex encoding. This is in the HTML 4.01 spec at
> http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.
>
> So now I use %26 instead to insert an ampersand in a URL. This seems to work
> reliably with the server-side scripts and in the URL address box of all
> browsers.

There's nothing to stop individual scripts allowing this (most likely more
by accident than design), but it definitely should not work in general.
One purpose of hex escaping in URIs is to remove characters' specialness.
If the script allows "%26" instead of "&" as a field separator, how do you
include ampersands in submitted form data?

Tim Bagot

Received on Friday, 8 June 2001 17:17:59 UTC