Geoffrey Young wrote:

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.

Beg your pardon? Have you looked at the HTML source code? it goes:

<a href="http://example.com/foo.pl?foo=bar&amp;reg=foobar";>http://example.com/foo.pl?foo=bar&amp;reg=foobar</a>


-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to