Re: [htdig] Wrappers and htdig 1.3.5


Subject: Re: [htdig] Wrappers and htdig 1.3.5
From: Adam Rice (adam@newsquest.co.uk)
Date: Tue Apr 25 2000 - 04:17:10 PDT


Brandon Bell wrote:
>
> Thanks for the feedback Edmond.
>
> I think the only solution is to hack the htdig code as you suggest below and
> revert the separator back to the '&'.
>
> If I use CGI.pm Version 2.64, which apparently does allow for the semicolon
> separator, I still have the problem that when HTML forms are submitted the
> ampersand is used, but when next/prev page clicks are done from the search
> results page the semicolon is used. Because of this inconsistency, writing
> any wrapper seems next to impossible to handle both cases at the same time.

For Perl wrappers, a hack would be to put
$ENV{QUERY_STRING} =~ tr/;/&/;
somewhere before the line where the CGI object is created.

Adam Rice

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Tue Apr 25 2000 - 02:04:38 PDT