@SUITES @ARCHIVES $ROOT );
sub do_search {
my ($params, $opts, $html_header, $menu, $page_content) = @_;
@SUITES @ARCHIVES $ROOT );
sub do_search {
my ($params, $opts, $html_header, $menu, $page_content) = @_;
if ($params->{errors}{keywords}) {
fatal_error( "keyword not valid or missing" );
} elsif (length($opts->{keywords}) < 2) {
if ($params->{errors}{keywords}) {
fatal_error( "keyword not valid or missing" );
} elsif (length($opts->{keywords}) < 2) {
my $suites_param = join ',', @{$params->{values}{suite}{no_replace}};
my $sections_param = join ',', @{$params->{values}{section}{no_replace}};
my $archs_param = join ',', @{$params->{values}{arch}{no_replace}};
my $suites_param = join ',', @{$params->{values}{suite}{no_replace}};
my $sections_param = join ',', @{$params->{values}{section}{no_replace}};
my $archs_param = join ',', @{$params->{values}{arch}{no_replace}};
- hint( "You have searched only for words exactly matching your keywords. You can try to search <a href=\"$SEARCH_CGI?exact=0;searchon=$searchon;suite=$suites_param;section=$sections_param;keywords=$keyword_esc;arch=$archs_param\">allowing subword matching</a>." );
+ hint( "You have searched only for words exactly matching your
+ keywords. You can try to search <a href=\"".
+ encode_entities("$SEARCH_URL?exact=0&$opts->{common_params}")."\">allowing
+ subword matching</a>." );