(bug #2998) fix search sorting containing "="

just modify the way to parse the actual args
This commit is contained in:
Nahuel ANGELINETTI 2009-03-03 17:48:15 +01:00 committed by Henri-Damien LAURENT
parent 1ddd4ad783
commit 1241ffc5fd
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ sub _input_cgi_parse ($) {
my @elements;
for my $this_cgi ( split('&',shift) ) {
next unless $this_cgi;
$this_cgi =~ /(.*)=(.*)/;
$this_cgi =~ /(.*?)=(.*)/;
push @elements, { input_name => $1, input_value => $2 };
}
return @elements;