From e5cc1a18f4d32966c61f9af24bd5ba09eb7be4a7 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 18 Dec 2012 10:55:25 -0500 Subject: [PATCH] Bug 16283 - Make OPAC registration captcha case insensitive Content-Type: text/plain; charset=utf-8 The OPAC registration captcha should not be case sensitive. This patch was moved here from bug 9393. Test Plan: 1) Enable patron self registration 2) Test the captcha by typing in the captcha in lower case. Registration should still succeed. Signed-off-by: Jonathan Druart Signed-off-by: Marcel de Rooy --- opac/opac-memberentry.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl index 321d47c..75ecdc3 100755 --- a/opac/opac-memberentry.pl +++ b/opac/opac-memberentry.pl @@ -102,7 +102,7 @@ if ( $action eq 'create' ) { ); } elsif ( - md5_base64( $cgi->param('captcha') ) ne $cgi->param('captcha_digest') ) + md5_base64( uc( $cgi->param('captcha') ) ) ne $cgi->param('captcha_digest') ) { $template->param( failed_captcha => 1, -- 1.7.10.4