Lines 412-418
if ($indexes[0] && (!$indexes[1] || $params->{'scan'})) {
Link Here
|
412 |
} |
412 |
} |
413 |
|
413 |
|
414 |
# an operand can be a single term, a phrase, or a complete ccl query |
414 |
# an operand can be a single term, a phrase, or a complete ccl query |
415 |
my @operands = map uri_unescape($_), $cgi->param('q'); |
415 |
my @operands = map Encode::decode_utf8( uri_unescape($_) ), $cgi->param('q'); |
416 |
|
416 |
|
417 |
# limits are use to limit to results to a pre-defined category such as branch or language |
417 |
# limits are use to limit to results to a pre-defined category such as branch or language |
418 |
my @limits = map uri_unescape($_), $cgi->param('limit'); |
418 |
my @limits = map uri_unescape($_), $cgi->param('limit'); |
Lines 496-502
for my $this_cgi ( split('&',$query_cgi) ) {
Link Here
|
496 |
$this_cgi =~ m/(.*?)=(.*)/; |
496 |
$this_cgi =~ m/(.*?)=(.*)/; |
497 |
my $input_name = $1; |
497 |
my $input_name = $1; |
498 |
my $input_value = $2; |
498 |
my $input_value = $2; |
499 |
push @query_inputs, { input_name => $input_name, input_value => $input_value }; |
499 |
push @query_inputs, { input_name => $input_name, input_value => Encode::decode_utf8( uri_unescape( $input_value ) ) }; |
500 |
if ($input_name eq 'idx') { |
500 |
if ($input_name eq 'idx') { |
501 |
$scan_index_to_use = $input_value; # unless $scan_index_to_use; |
501 |
$scan_index_to_use = $input_value; # unless $scan_index_to_use; |
502 |
} |
502 |
} |