[ZendTo] Recaptcha not showing + China

jules at zend.to jules at zend.to
Fri Mar 17 10:21:51 GMT 2023


Kris,

The method I use is CurlPost. So the erroneous URL in Post.php doesn't 
get used anyway.

Cheers,
Jules.

On 16/03/2023 00:12, Kris Lou via ZendTo wrote:
> Looking into this a little further (also to play around with 
> Turnstile), I'm noticing the following:
>
> # grep -R siteverify *
> ReCaptcha/ReCaptcha.php:     * Calls the reCAPTCHA siteverify API to 
> verify whether the user passes
> ReCaptcha/RequestMethod/CurlPost.php:    const SITE_VERIFY_URL = 
> 'https://www.recaptcha.net/recaptcha/api/siteverify';
> ReCaptcha/RequestMethod/Post.php:    const SITE_VERIFY_URL = 
> 'https://www.google.com/recaptcha/api/siteverify';
> ReCaptcha/RequestMethod/SocketPost.php:    const SITE_VERIFY_PATH = 
> '/recaptcha/api/siteverify';
>
> Are Post.php and SocketPost.php supposed to reference the google.com 
> <http://google.com> path, or the recaptcha.net <http://recaptcha.net> 
> URLs?
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://jul.es/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'It's okay to live without all the answers' - Charlie Eppes, 2011

www.Zend.To
Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20230317/f21950b9/attachment.html>


More information about the ZendTo mailing list