I prefer CAPTCHA's in uppercase, so I made a slight modification to the HEAD version. The patch is attached.

With this patch, the text used for generating the image is bumped to uppercase before being processed. Fortunately, I didn't have to change anything else since the actual comparison between the generated text and the user's text is compared in lowercase only. So, the comparison is already not case-sensitive.

If I've posted this incorrectly, please let me know. It's my first patch submission to Drupal.

I'd like to suggest an uppercase/lowercase radio button choice be given to the administrator when configuring the module. If I have the time, I'll write it myself. But, I'm new to Drupal development so I don't know how soon I'll get it done.

--
Ric Fischer

CommentFileSizeAuthor
captcha_uppercase.patch487 bytesRic Fischer

Comments

arnabdotorg’s picture

Sounds good, can you please submit a patch for 4.7 / HEAD with the setting bit?

arnabdotorg’s picture

Status: Needs review » Needs work
wundo’s picture

Project: CAPTCHA » Textimage
Version: 4.6.x-1.x-dev » 5.x-2.x-dev
wundo’s picture

Status: Needs work » Fixed

revision 1.8 fix it.

Anonymous’s picture

Status: Fixed » Closed (fixed)