Bugzilla – Attachment 17221 Details for
Bug 9951
Resolve encoding problems where script parameters are not decoded
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9951: Followup for Tools
Bug-9951-Followup-for-Tools.patch (text/plain), 1.45 KB, created by
Chris Cormack
on 2013-04-07 02:27:26 UTC
(
hide
)
Description:
Bug 9951: Followup for Tools
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2013-04-07 02:27:26 UTC
Size:
1.45 KB
patch
obsolete
>From 92b712804327c9982fd110df1146e89a6e8ef076 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 2 Apr 2013 14:06:02 +0200 >Subject: [PATCH] Bug 9951: Followup for Tools > >Adds decoding for Patron Cards/Patron Search and Tags (moderation). > >Test plan: >Goto Tools. Add accent with diacritics in both areas. Check if you do not see >converted characters. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > patroncards/members-search.pl | 1 + > tags/review.pl | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/patroncards/members-search.pl b/patroncards/members-search.pl >index ef7a776..8ab249b 100755 >--- a/patroncards/members-search.pl >+++ b/patroncards/members-search.pl >@@ -34,6 +34,7 @@ my $startfrom = $cgi->param('startfrom')||1; > my $resultsperpage = $cgi->param('resultsperpage')||C4::Context->preference("PatronsPerPage")||20; > my $category = $cgi->param('category') || undef; > my $member = $cgi->param('member') || ''; >+utf8::decode($member); > my $orderby = $cgi->param('orderby') || undef; > > my @categories=C4::Category->all; >diff --git a/tags/review.pl b/tags/review.pl >index 3b7a0a0..5405924 100755 >--- a/tags/review.pl >+++ b/tags/review.pl >@@ -23,7 +23,7 @@ use warnings; > use strict; > use Data::Dumper; > use POSIX; >-use CGI; >+use CGI qw/-utf8/; > use CGI::Cookie; # need to check cookies before having CGI parse the POST request > > use C4::Auth qw(:DEFAULT check_cookie_auth); >-- >1.7.10.4
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 9951
:
17124
|
17128
| 17221 |
17222