diff --git a/plugins/captcha/recaptcha/recaptcha.php b/plugins/captcha/recaptcha/recaptcha.php index 50f011f1d1ae7..7b1d5a3accabf 100644 --- a/plugins/captcha/recaptcha/recaptcha.php +++ b/plugins/captcha/recaptcha/recaptcha.php @@ -19,9 +19,9 @@ */ class PlgCaptchaRecaptcha extends JPlugin { - const RECAPTCHA_API_SERVER = "http://api.recaptcha.net"; + const RECAPTCHA_API_SERVER = "http://www.google.com/recaptcha/api"; const RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api"; - const RECAPTCHA_VERIFY_SERVER = "api-verify.recaptcha.net"; + const RECAPTCHA_VERIFY_SERVER = "www.google.com"; /** * Load the language file on instantiation. @@ -126,7 +126,7 @@ public function onCheckAnswer($code) } $response = $this->_recaptcha_http_post( - self::RECAPTCHA_VERIFY_SERVER, "/verify", + self::RECAPTCHA_VERIFY_SERVER, "/recaptcha/api/verify", array( 'privatekey' => $privatekey, 'remoteip' => $remoteip,