[ZendTo] Patch for recaptcha and tne new_dropoff.js problem (for the beta)

Jules Jules at Zend.To
Fri Aug 28 17:52:03 BST 2020


Manty,

Sorry, but I don't agree with either of those changes.

Using recaptcha.net instead of recaptcha.google.com is the change 
recommended by Google so that the reCAPTCHA service works for users in 
China, who cannot reach 99% of Google services. Because it's on a 
separate domain name, China allow that 1 Google service through their 
firewall.

In the call to include the dropoff_js.tpl file, the {} brackets tell the 
Smarty template system to read and process the new_dropoff.js.tpl file, 
which you will find in /opt/zendto/templates. This allows me to 
substitute Smarty variables in the JS code, while keeping it all in a 
separate file.

Cheers,
Jules.

On 18/08/2020 11:14, Santiago Garcia Mantinan via ZendTo wrote:
> Hi!
>
> While testing the Beta version 6.04-2 I found out some problems, one I
> have commented already, was with the new_dropoff.js script as a
> template and the other was with recaptcha not working.
>
> I'm attaching a patch to fix this problems.
>
> Regards.
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://jul.es/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'Teach a man to reason, and he will think for a lifetime.' - Phil Plait

www.Zend.To
Twitter: @JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200828/ab476d34/attachment.html>


More information about the ZendTo mailing list