Closed (fixed)
Project:
CAPTCHA
Version:
6.x-1.x-dev
Component:
Image Captcha (image_captcha)
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
30 Sep 2007 at 11:38 UTC
Updated:
28 Apr 2009 at 04:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
robloachYou can head over to admin/user/captcha/image_captcha and change the "Characters to use in the code" to have only uppercase, or lowercase letters. It might be a good idea, however, to add an option to make the validation case insensitive.
Comment #2
DaveGV commentedI am adding a potential patch to apply case insensitivity to the current dev code base. Updates are in captcha.pages.inc and image_captcha.admin.inc Strongly suggest review! This is my first patch.
Comment #3
soxofaan commentedHi Dave,
Thanks for your patch. Some remarks:
variable_get('captcha_ignore_case_sensitivity', TRUE)andvariable_get('captcha_ignore_case_sensitivity', FALSE). There should be only one default for settings variable, and it should beFALSEin this case so that the feature is disabled by default.-r DRUPAL-5--3to your cvs checkout).I would pick the first option for now
Don't be discouraged by this list, most items are minor issues.
If this is your first Drupal patch, you already did very well.
Thanks again
Comment #4
DaveGV commentedGreat feedback soxofaan - thank-you very much! I'll review the fixes and get a new patch uploaded in a few days. I have other obligations that will keep me busy for a day or two, but should find some time to make another attempt soon.
One question - would you suggest that I create a separate feature request for the 6.X update, or revise this entry for 6.X? I think I'd like to stay on one version for now.
Thanks,
Dave
Comment #5
soxofaan commentedno problem, there is no rush
typically a feature is implemented in one branch and after it's finished, it gets ported to the other maintained branches. No need for a separate issue, there is a "patch (to be ported)" status
Comment #6
DaveGV commentedHere is my second attempt. Hopefully this one is pretty close for the HEAD code base. Once I get this one figured out, perhaps I'll go back to the current 6.X. I'm running this version on my site now - no badness so far.
Comment #7
soxofaan commentedGetting closer.
Some remarks however ;)
in attachment you'll find an adapted version of your patch.
committed to head in http://drupal.org/cvs?commit=116700
Comment #8
scottgifford commentedI have a variation on this patch working in 5.x, any chance of a backport if I post it?
Comment #9
soxofaan commentedat#8: if you backported it, then there is a backport ;)
be welcome to post it
I'm not very active on Drupal5 anymore, but a small patch as this one wouldn't be a problem
Comment #10
scottgifford commentedComment #11
soxofaan commentedhttp://drupal.org/cvs?commit=195408
Comment #12
scottgifford commentedThe backported fix seems to work for me, thanks!