Re: [greenstone-devel] validating HTML with gsdl url and unencoded ampersands

From John R. McPherson
DateSat, 2 Dec 2006 00:16:50 +1300
Subject Re: [greenstone-devel] validating HTML with gsdl url and unencoded ampersands
In-Reply-To (45700791-8060304-inwind-it)
On Fri, Dec 01, 2006 at 11:44:33AM +0100, ruben pandolfi wrote:
> Hi,
>
> I have noticed that greenstone can easily respect (X)HTML stadards
> except in URL making, where unencoded ampersands in URL
>
> http://www.htmlhelp.com/tools/validator/problems.html#amp
>
> Do you think that changing this can produce unexpected behaviour?
>
> Can this be made as default in next release?

Yes, it should be using "&" instead of "&" whereever a url
appears as the href of a link inside the html. When we changed to
using css I went through and changed as many of the &s to &s as
I could find (many of these link urls are generated by the c++ code).

If you are finding urls like
<a href="http://server/cgi-bin/library?a=p&p=aaa&c=xxx"> then that
should be fixed. Please tell us which page/action is generating them
and hopefully someone will have the time to track it down and fix
it.

John