Its about this code in recaptcha.module:
// Check if reCAPTCHA is available and show Math if not.
$connect = @fsockopen(RECAPTCHA_VERIFY_SERVER, 80);
if (!$connect) {
return captcha_captcha('generate', 'Math', $args);
}
fclose($connect);
As fsockopen is sometimes blocked for security reasons this will always cause a fallback to math captchas on some hosting providers, even if the Drupal API is patched to use curl or whatever.
It would be best to keep it encapsulated there, give an option or don't use a fallback mechanism.
Comments
Comment #1
revoof commentedI just noticed that this is also a problem with recaptcha/recaptchalib.php.
You could consider replacing it (though it comes from recaptcha.net).
Comment #2
hass commentedThis is fixed in 2.x and the old lib seems no longer maintained.