New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed broken recaptcha urls #2438

Merged
merged 1 commit into from Nov 8, 2013
File filter...
Filter file types
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Diff settings

Always

Just for now

@@ -21,9 +21,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";
public function __construct($subject, $config)
{
@@ -115,7 +115,7 @@ public function onCheckAnswer($code)
return false;
}

This comment has been minimized.

@Racjonalny

Racjonalny Mar 13, 2018

com_k2/views/item/view.html.php

$response = $this->_recaptcha_http_post(self::RECAPTCHA_VERIFY_SERVER, "/verify",
$response = $this->_recaptcha_http_post(self::RECAPTCHA_VERIFY_SERVER, "/recaptcha/api/verify",
array(
'privatekey' => $privatekey,
'remoteip' => $remoteip,
ProTip! Use n and p to navigate between commits in a pull request.