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
| Comment | File | Size | Author |
|---|---|---|---|
| captcha_uppercase.patch | 487 bytes | Ric Fischer |
Comments
Comment #1
arnabdotorg commentedSounds good, can you please submit a patch for 4.7 / HEAD with the setting bit?
Comment #2
arnabdotorg commentedComment #3
wundo commentedComment #4
wundo commentedrevision 1.8 fix it.
Comment #5
(not verified) commented