Steps to reproduce:
- go to some captcha-protected form
- fill in the correct captcha, leave the required fields empty
- submit
- correct the captcha to the new value
- resubmit
- and so on
Every second time, captcha will fail.
The patch seems to solve this issue.

CommentFileSizeAuthor
captcha.module_2.patch827 bytesVDG

Comments

VDG’s picture

Status: Active » Needs review
mgifford’s picture

Status: Needs review » Reviewed & tested by the community

seems to work for me in resolving an fatal error or two. Most recently:

PHP Fatal error: Cannot use string offset as an array in /home/drupal/modules/captcha/captcha.module on line 169

Petra’s picture

Version: 5.x-2.0 » 5.x-2.1

the patch works fine for me - thanks!

my problem was:
- go to captcha-protected post comment form (comment preview required / used riddler for captcha)
- fill in the correct captcha and all required fields
- submit (got the preview form)
- submit
- got message: The answer you entered to the captcha challenge is incorrect.
- change nothing and submit
- comment was submitted

hd’s picture

I applied this patch to captcha 5.x-2.2 and it seems OK. The problem getting an error message although supplying the correct captcha has disappeared.

However, for every preview (when making comments) and then for the final post, each time a captcha has to be entered. While this does add to the complexity to deter spam bots, it might be perceived as somewhat over the top by users ...

When will this patch make it into the module?

wundo’s picture

Status: Reviewed & tested by the community » Fixed

Last version fixes that, thanks! ;)

Anonymous’s picture

Status: Fixed » Closed (fixed)