Bugzilla – Attachment 16988 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 preferences.pl
SIGNED-OFF-Bug-6554-Followup-for-preferencespl.patch (text/plain), 1.03 KB, created by
Bernardo Gonzalez Kriegel
on 2013-03-28 16:07:40 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 6554: Followup for preferences.pl
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-03-28 16:07:40 UTC
Size:
1.03 KB
patch
obsolete
>From 8f267caeccbdd8e19d1a4b15eb70eeb50b1b4f38 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 28 Mar 2013 12:51:26 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 6554: Followup for preferences.pl > >Decodes searchfield. > >Test plan: >Look for e accent in preferences. You should no longer see converted chars. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Works ok, no errors. >--- > admin/preferences.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/admin/preferences.pl b/admin/preferences.pl >index e24657e..2182591 100755 >--- a/admin/preferences.pl >+++ b/admin/preferences.pl >@@ -21,6 +21,7 @@ use strict; > use warnings; > > use CGI; >+ > use C4::Auth; > use C4::Context; > use C4::Koha; >@@ -296,7 +297,8 @@ if ( $op eq 'save' ) { > my @TABS; > > if ( $op eq 'search' ) { >- my $searchfield = $input->param( 'searchfield' ); >+ my $searchfield = $input->param('searchfield'); >+ utf8::decode($searchfield); > > $searchfield =~ s/\p{IsC}//g; > $searchfield =~ s/\s+/ /; >-- >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