Carl Johnstone wrote:
> 
> On:
> http://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html
> 
> 
> It talks about browsers misreading URLs like:
> 
> http://example.com/foo.pl?foo=bar&reg=foobar
> 
> Presuming this is within a HTML page e.g.:
> 
> <a href="http://example.com/foo.pl?foo=bar&reg=foobar";> ...
> 
> then the actual problem is that the & has not been changed into a HTML
> entity - so what you should do is:
> 
> <a href="http://example.com/foo.pl?foo=bar&amp;reg=foobar";> ...

yeah, I think that's right.  at least if you run the first HTML example
throught the w3c validator you'll get error messages left and right until it
looks like the second example.

HTH

--Geoff

Reply via email to