diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 32c62ea7e..d0a358244 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,6 +1,7 @@ 7.10.16 - fixed #12121: typ-o Asset_Map.templateIdEditPoint - rfe #2123: Layouts related for export purposes + - fixed #12125: Recaptcha API url 7.10.15 - fixed #12117: Thingy - www_searchViaAjax broken diff --git a/lib/WebGUI/Form/Captcha.pm b/lib/WebGUI/Form/Captcha.pm index 21fab775a..a2a972640 100644 --- a/lib/WebGUI/Form/Captcha.pm +++ b/lib/WebGUI/Form/Captcha.pm @@ -109,7 +109,7 @@ sub getValue { my $response = $self->session->form->param('recaptcha_response_field'); my $ua = LWP::UserAgent->new; - my $res = $ua->post('http://api-verify.recaptcha.net/verify', { + my $res = $ua->post('http://www.google.com/recaptcha/api/verify', { privatekey => $privKey, remoteip => $self->session->env->getIp, challenge => $challenge, @@ -160,9 +160,9 @@ sub toHtml { if ($self->session->setting->get('useRecaptcha')) { my $env = $self->session->env; my $pubKey = $self->session->setting->get('recaptchaPublicKey'); - my $server = "http://api.recaptcha.net"; + my $server = "http://www.google.com/recaptcha/api"; if ($env->sslRequest) { - $server = "https://api-secure.recaptcha.net"; + $server = "https://www.google.com/recaptcha/api"; } return ''