[ZendTo] Email Address with apostrophe

Kabir, Rashed RKabir at wcupa.edu
Tue Apr 14 14:06:17 BST 2020


Thanks Jules. This worked great.


From: Jules <Jules at Zend.To>
Sent: Monday, April 13, 2020 8:13 AM
To: ZendTo Users <zendto at zend.to>
Cc: Kabir, Rashed <RKabir at wcupa.edu>; Guy Bertrand <Guy.Bertrand at exelaonline.com>
Subject: Re: [ZendTo] Email Address with apostrophe

Rashed, Guy,

Many thanks for reporting that. Dead simple fix.
I'll release an updated production release in a little while, but if you want to fix it yourself in the mean time...

Edit /opt/zendto/templates/new_dropoff.tpl
Lines 15 and 16 will currently say this:
var presetToName = '{$recipName_1}';
var presetToEmail = '{recipEmail_1}';

Change all 4 occurrences of the single quote character (') to be the double quotes character (") instead.
Save the edited file.

Beware that the next time you apt/yum upgrade ZendTo, that template file will be marked as having been modified, so it won't get overwritten by my new one by default!

The change should be immediately picked up the next time that page is displayed to anyone. No need to restart anything.

Cheers,
Jules.
On 07/04/2020 20:04, Kabir, Rashed via ZendTo wrote:
Just wondering if this could be a bug.

One of our users who has an apostrophe in her email address when she tries to use the

“Request a drop off”  option

The ‘To’ Field is still empty & the ‘Add’ button does not work.  The same experience if the link is sent in a separate email. Was able to recreate the problem with a test account that had apostrophe.

Thanks Rashed


[cid:image002.jpg at 01D6123B.F4066AC0]







_______________________________________________

ZendTo mailing list

ZendTo at zend.to<mailto:ZendTo at zend.to>

http://jul.es/mailman/listinfo/zendto<http://jul.es/mailman/listinfo/zendto>



Jules



--

Julian Field MEng CEng CITP MBCS MIEEE MACM



'Science is an integral part of culture. It's not this foreign

 thing, done by an arcane priesthood. It's one of the glories of

 human intellectual tradition.' - Stephen Jay Gould



www.Zend.To<http://www.Zend.To>

Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200414/e166cc60/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 17476 bytes
Desc: image002.jpg
URL: <http://jul.es/pipermail/zendto/attachments/20200414/e166cc60/attachment-0001.jpg>


More information about the ZendTo mailing list