[ZendTo] Email Address with apostrophe

Jules Jules at Zend.To
Mon Apr 13 13:12:40 BST 2020


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
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> 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
Twitter: @JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200413/6c9ee2e4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 17768 bytes
Desc: not available
URL: <http://jul.es/pipermail/zendto/attachments/20200413/6c9ee2e4/attachment-0001.jpg>


More information about the ZendTo mailing list