Skip Menu |

This queue is for tickets about the Captcha-reCAPTCHA CPAN distribution.

Report information
The Basics
Id: 29693
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Captcha-reCAPTCHA

People
Owner: andy [...] hexten.net
Requestors: williamfccampbell [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error code when no response - possible typo
Date: Mon, 1 Oct 2007 07:16:11 -0700 (PDT)
To: bug-captcha-recaptcha [...] rt.cpan.org
From: William Campbell <williamfccampbell [...] yahoo.com>
The value returned by check_answer() when either the challenge or response are missing is defined at line 129 of v0.7 of REcaptcha.pm. This line reads :- return { is_valid => 0, error => 'incorrect-challenge-sol' } I think this should maybe return an error code of 'incorrect-captcha-sol' instead of 'incorrect-challenge-sol'. 'incorrect-challenge-sol' is not listed among the current error codes in the Recaptcha API documentation - and specifying this error code when regenerating the captcha HTML to redisplay the captcha to the user results in an error message of 'Unknown Error.' being displayed. Show quoted text
____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC
Thanks William. Fixed in 0.8 which is on it's way to CPAN now.