[Vtigercrm-developers] vtiger emails in Outlook Web Interface corrupted
Alan Lord
alanslists at gmail.com
Wed Mar 4 13:16:00 GMT 2015
On 04/03/15 12:51, Uma S wrote:
> Hi,
>
> We have reported this issue in trac
> <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8498#ticket> will look
> into soon.
Thanks Uma,
I don't know if this is anything to do with it, but can I ask, why you
insert this csrf javascript code into an *email*?
> <script type="text/javascript">if (top != self) {top.location.href = self.location.href;}</script>
> <script type="text/javascript">var csrfMagicToken = "sid:eec6fa3f6fdb97b55b80507af0e30dc9ec2d04a4,1425474630";var csrfMagicName = "__vtrftk";</script>
> <script src="libraries/csrf-magic/csrf-magic.js" type="text/javascript"></script>
I tried removing this from the source of the workflow email template and
the bit at the end:
> <script type="text/javascript">CsrfMagic.end();</script>
But it is automatically put back in every time it gets saved...
I know of very few email clients that will readily run some random chunk
of javascript code - they'd be mad to frankly...
Thanks
Al
More information about the vtigercrm-developers
mailing list