Bugzilla – Attachment 16987 Details for
Bug 6554
Resolve encoding problems with corrected UTF8 handling in templates
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 6554: Followup for acquisitions
SIGNED-OFF-Bug-6554-Followup-for-acquisitions.patch (text/plain), 2.02 KB, created by
Bernardo Gonzalez Kriegel
on 2013-03-28 16:07:29 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 6554: Followup for acquisitions
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-03-28 16:07:29 UTC
Size:
2.02 KB
patch
obsolete
>From d3ac04b13a2c9a5d97f43ea63baea6f36a95ae18 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 28 Mar 2013 13:37:40 +0100 >Subject: [PATCH] [SIGNED-OFF] 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> >--- > acqui/booksellers.pl | 1 + > acqui/histsearch.pl | 9 +++++++++ > 2 files changed, 10 insertions(+) > >diff --git a/acqui/booksellers.pl b/acqui/booksellers.pl >index f6c7b2e..394ae92 100755 >--- a/acqui/booksellers.pl >+++ b/acqui/booksellers.pl >@@ -74,6 +74,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > > #parameters > my $supplier = $query->param('supplier'); >+utf8::decode($supplier); > my $booksellerid = $query->param('booksellerid'); > my @suppliers; > >diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl >index 971fc18..0d4ea1a 100755 >--- a/acqui/histsearch.pl >+++ b/acqui/histsearch.pl >@@ -60,13 +60,22 @@ use C4::Debug; > > 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')); >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6554
:
4558
|
4560
|
4561
|
4562
|
4563
|
4564
|
5962
|
6041
|
6065
|
6070
|
6071
|
6072
|
6073
|
6076
|
6077
|
6078
|
6079
|
6080
|
6083
|
6084
|
6085
|
6108
|
10118
|
16780
|
16797
|
16857
|
16905
|
16929
|
16930
|
16931
|
16932
|
16960
|
16961
|
16962
|
16963
|
16964
|
16966
|
16968
|
16969
|
16984
|
16985
|
16986
|
16987
|
16988
|
16989
|
17179
|
17186
|
17187
|
17327
|
17328
|
18746
|
18747
|
18749
|
18750
|
21318
|
21399
|
21478
|
21488
|
21506
|
21509
|
21581
|
21629
|
21631
|
21632
|
21682
|
21937
|
21955
|
21978
|
21980
|
21981
|
23107
|
23140