Bart Teeuwisse wrote:

> Running some pages through a the W3.org HTML validator I learned that the HTML
> 4.01 Transitional standard requires query vars to be separated by & instead of
> &. E.g.
>
>        http://wwww.thecodemill.biz/vars?bla=bladibla&blurb=blabla
>
> should be
>
>        http://wwww.thecodemill.biz/vars?bla=bladibla&blurb=blabla
>
> Yet if you follow the above links you'll notice that AOLserver does not handle
> query vars separated by & very well. Rather than treating & as an entity.
> AOLserver replaces the & character which results in a var named 'amp;blurb'
> instead of 'blurb'

Web server isn't supposed to expand HTML entities.  It is HTML parser that has
to turn & to & in HREF before it sends the request to server..

That means that you have to us & in your HTML, but outside of HTML (say
when you are redirecting or typing a plain text email) you should use &.

 -- Branimir

Reply via email to