I keep getting this following error message....
struct
Cause
struct
Message recaptcha: the verification service responded with error
''Input error: challenge: Error parsing captcha challenge value\n''.
See http://recaptcha.net/apidocs/captcha/ for error meanings.
RootCause
struct
Detail [empty string]
Now, I know this is from spammers. Almost every email like this I get,
it's always from Russia or the Ukraine (while I would like to think my
site has worldwide appeal, it doesn't). However, I have the following
in my application.cfc (I run fusebox) as an error trapping routine.
<cfif Exception.Message contains 'Error parsing captcha challenge value'>
You appear to be a bot.
<cfelse>
[Send an email]
</cfif>
However, this isn't triggering. I've tried triggering this myself
(wrong words, blank, etc) and I can't get it to replicate the error.
So I figured I'd kludge it.
My question is.. Why isn't this getting picked up? Exception.Message
would be equal to "recaptcha: the verification service responded with
error ''Input error: challenge: Error parsing captcha challenge
value\n''. See http://recaptcha.net/apidocs/captcha/ for error
meanings." I would think. So why doesn't the "contains" work?
Is there something I'm missing? I'm close to just only allowing
american IPs in the site, but I'd rather avoid that if possible.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340196
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm