From d027ffa422962377f706b97f87ea0ddba715bc4b Mon Sep 17 00:00:00 2001 From: TomsProject <44722363+TomsProject@users.noreply.github.com> Date: Fri, 28 Oct 2022 22:21:47 +0800 Subject: [PATCH 1/2] www.recaptcha.net --- plugins/recaptcha/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/recaptcha/index.php b/plugins/recaptcha/index.php index bffda14b1c..4dda5953b4 100644 --- a/plugins/recaptcha/index.php +++ b/plugins/recaptcha/index.php @@ -86,7 +86,7 @@ public function AjaxActionPreCall($sAction) $bResult = false; $sResult = $this->Manager()->Actions()->Http()->SendPostRequest( - 'https://www.google.com/recaptcha/api/siteverify', + 'https://www.recaptcha.net/recaptcha/api/siteverify', array( 'secret' => $this->Config()->Get('plugin', 'private_key', ''), 'response' => $this->Manager()->Actions()->GetActionParam('RecaptchaResponse', '') From ed72723c1cc01939954367b65b6652629fcb2541 Mon Sep 17 00:00:00 2001 From: TomsProject <44722363+TomsProject@users.noreply.github.com> Date: Fri, 28 Oct 2022 22:22:16 +0800 Subject: [PATCH 2/2] www.recaptcha.net --- plugins/recaptcha/js/recaptcha.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/recaptcha/js/recaptcha.js b/plugins/recaptcha/js/recaptcha.js index 49d20bd603..a22f4e61ab 100644 --- a/plugins/recaptcha/js/recaptcha.js +++ b/plugins/recaptcha/js/recaptcha.js @@ -39,7 +39,7 @@ { if (!window.grecaptcha && window.rl) { - $.getScript('https://www.google.com/recaptcha/api.js?onload=__globalShowRecaptcha&render=explicit&hl=' + window.rl.settingsGet('Language')); + $.getScript('https://www.recaptcha.net/recaptcha/api.js?onload=__globalShowRecaptcha&render=explicit&hl=' + window.rl.settingsGet('Language')); } else { @@ -92,4 +92,4 @@ } }); -}($, window)); \ No newline at end of file +}($, window));