Permalink
Browse files

Bug 6554: Followup for acquisitions

Adds decoding for url parameter.

Test plan:
Search for expressions with diacritics in vendor search, orders search.
Also try Orders search, Advanced search (within Acq).
Check what you see.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
  • Loading branch information...
mderooy authored and jcamins committed Mar 28, 2013
1 parent c18cd93 commit b2b003adea685acf3f590ed00baf7abec734341f
Showing with 10 additions and 0 deletions.
  1. +1 −0 acqui/booksellers.pl
  2. +9 −0 acqui/histsearch.pl
View
@@ -74,6 +74,7 @@ =head1 CGI PARAMETERS
#parameters
my $supplier = $query->param('supplier');
+utf8::decode($supplier);
my $booksellerid = $query->param('booksellerid');
my @suppliers;
View
@@ -60,13 +60,22 @@ =head1 CGI PARAMETERS
my $input = new CGI;
my $title = $input->param( 'title');
+utf8::decode($title);
my $author = $input->param('author');
+utf8::decode($author);
my $isbn = $input->param('isbn');
+utf8::decode($isbn);
my $name = $input->param( 'name' );
+utf8::decode($name);
my $ean = $input->param('ean');
+utf8::decode($ean);
my $basket = $input->param( 'basket' );
+utf8::decode($basket);
my $basketgroupname = $input->param('basketgroupname');
+utf8::decode($basketgroupname);
my $booksellerinvoicenumber = $input->param( 'booksellerinvoicenumber' );
+utf8::decode($booksellerinvoicenumber);
+
my $do_search = $input->param('do_search') || 0;
my $from_placed_on = C4::Dates->new($input->param('from'));
my $to_placed_on = C4::Dates->new($input->param('to'));

0 comments on commit b2b003a

Please sign in to comment.