Closed (outdated)
Project:
CAPTCHA
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2010 at 16:50 UTC
Updated:
5 Oct 2019 at 18:22 UTC
Jump to comment: Most recent
When logging is enabled, I always get
user_register post blocked by CAPTCHA module: challenge "reCAPTCHA" (by module "recaptcha"), user answered "reCAPTCHA", but the solution was "1".
It should look like
user_register post blocked by CAPTCHA module: challenge "reCAPTCHA" (by module "recaptcha"), user answered "un fctory" but the solution was "fun factory".
Comments
Comment #1
Kronix commentedI'm getting this as well. I don't suppose anyone has looked into this...?
It seems to be just a reporting error -- the reCAPTCHA is being validated correctly. But it would be helpful to determine how many invalid attempts are from actual users, and how many are from spammers.
Comment #2
jtwalters commentedI am pretty sure this isn't possible.
First of all, one of the words in the reCAPTCHA is unknown. The other (known) word, is inaccessible via the API (from what I can tell). At best, you could display an error message with the user's input without the actual solution.
Comment #3
fizk commentedI agree with jtwalters.
Comment #4
jerdiggity commentedPossible solution:
I just tested this and it appears as though it works, except it involves a change to the
captcha.modulefile (maybe I'll create a patch and see if the maintainer[s] of captcha would be willing to implement it):Starting at line 590 of
captcha.module:*Note: using the
%solutionplaceholder for$recaptcha_img_to_htmlwill encode the html rendered by$recaptcha_img_to_html, causing it not to show up as the original reCAPTCHA image.Thoughts/feedback?
Comment #5
hass commentedMoving to captcha module.
Comment #6
wundo commented