http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6510

--- Comment #3 from Magnus Enger <[email protected]> 2011-06-16 10:57:50 UTC 
---
The problem is not present in the OPAC, where this code takes care of the
parsing: 

 368 sub _input_cgi_parse ($) { 
 369     my @elements;
 370     for my $this_cgi ( split('&',shift) ) {
 371         next unless $this_cgi;
 372         $this_cgi =~ /(.*?)=(.*)/;
 373         push @elements, { input_name => $1, input_value => $2 };
 374     }
 375     return @elements;
 376 }

Not sure if there is any practical difference between my proposed fix:

$this_cgi =~ /(.*)=(.*)/;

and the one used in opac/opac-search.pl: 

$this_cgi =~ /(.*?)=(.*)/;

?

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to