----- Original Message ----- From: "Kate L Pugh" kake@earth.li To: openguides-dev@openguides.org Sent: 12 August 2003 14:25 Subject: Re: [OpenGuides-Dev] bug in search
On Sat 09 Aug 2003, Ivor Williams ivor.williams@tiscali.co.uk wrote:
The HTML is being generated by CGI.pm, in particular start_form, which has not been supplied with an -action parameter, hence it sould reinvoke the same script with a new query string.
What we are seeing is that something has munged forward slashes into %2F - but we want real forward slashes! This is getting prepended with http://openguides.org/london/ resulting in a mess.
Any idea where this extra munging is coming from? It could be that there are different versions of CGI.pm floating around.
Try running supersearch.cgi under CGI.pm 2.99 (the latest) and 2.98, and you will see that it works right with 2.98 but not 2.99.
In general I would suggest not using CGI.pm unless it's absolutely necessary. Just write the HTML in a TT template. Ivor, are you going to get time soon to fix the search or should I add it to my to-do list?
I seriously intend to do this. Fixing supersearch is top of the list of things for OpenGuides. So I'll get onto it.
Ivor.