[ZendTo] Google recaptcha Proxy
Gregg Douglas
douglagm at gmail.com
Thu Mar 16 07:30:11 GMT 2017
Hi,
The proxy options for the Google reCaptcha are not working -
recaptchaProxy
recaptchaProxyPort
In Version 4.20, I had to add the "proxy" option in the Post.php under
/opt/zendto/www/ReCaptcha/RequestMethod:
$options = array(
'http' => array(
'header' => "Content-type:
application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => $params->toQueryString(),
// Force the peer to validate (not needed in 5.6.0+, but
still works)
'verify_peer' => true,
// Force the peer validation to use www.google.com
$peer_key => 'www.google.com',
*'proxy' => 'server:port',*
),
);
Gregg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20170316/bbf8522f/attachment.html
More information about the ZendTo
mailing list