Bugzilla – Attachment 50340 Details for
Bug 16283
Make OPAC registration captcha case insensitive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16283 - Make OPAC registration captcha case insensitive
Bug-16283---Make-OPAC-registration-captcha-case-in.patch (text/plain), 1.08 KB, created by
Kyle M Hall (khall)
on 2016-04-18 15:12:27 UTC
(
hide
)
Description:
Bug 16283 - Make OPAC registration captcha case insensitive
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-04-18 15:12:27 UTC
Size:
1.08 KB
patch
obsolete
>From 1a48c05855c2b78460ecf9bba230e5c1ff55ab3f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 18 Dec 2012 10:55:25 -0500 >Subject: [PATCH] Bug 16283 - Make OPAC registration captcha case insensitive > >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 <jonathan.druart@biblibre.com> >--- > 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, >-- >2.1.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 16283
:
50340
|
50570
|
50571