From: Liz Rea Date: Thu, 28 Oct 2010 14:00:03 +0000 (-0400) Subject: bug 5237: Testing renewals on patron barcodes with + signs at the end X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=21cabf7666330a4413d2e63e113189e5ca3c14b3;hp=9c1eae745349f0afa84dad8bc6fb3e8428e389c5;p=koha.git bug 5237: Testing renewals on patron barcodes with + signs at the end According to notes in bug, patch was originally by Chris Cormack. Signed-off-by: Liz Rea Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- diff --git a/reserve/renewscript.pl b/reserve/renewscript.pl index 09630bdf7a..4444e7cecb 100755 --- a/reserve/renewscript.pl +++ b/reserve/renewscript.pl @@ -26,6 +26,7 @@ use warnings; use CGI; use C4::Circulation; use C4::Auth; +use URI::Escape; use C4::Dates qw/format_date_in_iso/; my $input = new CGI; @@ -99,6 +100,7 @@ foreach my $barcode (@barcodes) { # redirection to the referrer page # if ($input->param('destination') eq "circ"){ + $cardnumber = uri_escape($cardnumber); print $input->redirect( '/cgi-bin/koha/circ/circulation.pl?findborrower='.$cardnumber.$failedrenews.$failedreturn );