[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#74598: Search results point to cgi-bin



On Thu, Oct 12, 2000 at 06:59:27AM -0400, Itai Zukerman wrote:
> Package: listarchives
> Severity: normal
> 
> I believe searching has been broken for a while now, mainly because
> searchlists is run in domain cgi-bin.d.o, but creates relative links
> to messages (which only exist in lists.d.o).

Yeah :( I wonder why nobody noticed... maybe everyone noticed how sucky
glimpse is so they don't use it anymore :)

> This tiny (untested) patch might be a quick fix?
> 
> --- searchlists.orig    Thu Oct 12 05:48:22 2000
> +++ searchlists Thu Oct 12 05:45:56 2000
> @@ -133,7 +133,7 @@
>         ($list = $url) =~ s:/msg.*::;
>         if ($url ne $lasturl) {
>             if ($lasturl && $data) { $gout .= $goutsub if $data; $data = 0; }
> -           $goutsub = "<li><a href=\"$url\">$subject</a> ($list)\n";
> +           $goutsub = "<li><a href=\"http://lists.debian.org/$url\";>$subject</a> ($list)\n";
>         }
>         $data = 1
>           if ($line=~/^ \s* \&lt\; TITLE \&gt\; .* \&lt\; \/TITLE \&gt\; $/x);

Indeed, that is the fix. Thanks.

Additionally, I got tired of having to scroll through 100KB of crap just to
get the search form. So we now have http://lists.debian.org/search.html
Enjoy. :)

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: