Finally I got it working. Here is the workaround.
/opt/zimbra/jetty_base/webapps/zimbra/js/zimbraMail/mail/model/ZmMailMsg.js - is not the only file containing interesting code. Find all of them in jetty_base directory:
Code: Select all
grep -rwl "cid=cid.replace" /opt/zimbra/jetty_base
You will see some more files. In my case:
- /opt/zimbra/jetty_base/webapps/zimbra/js/NewWindow_2_all.js
/opt/zimbra/jetty_base/webapps/zimbra/js/MailCore_all.js
Replace
cid=cid.replace(/@zimbra/g, "@zimbra");
with
cid=cid.replace(/@/g, "@");
in all of them
Remove gzipped versions of changed files: MailCore_all.js.zgz and NewWindow_2_all.js.zgz (or better rename them for safety reason)
Then rebuild them with gzip:
Code: Select all
gzip -k -S .zgz /opt/zimbra/jetty_base/webapps/zimbra/js/MailCore_all.js
gzip -k -S .zgz /opt/zimbra/jetty_base/webapps/zimbra/js/NewWindow_2_all.js
Clear browser cache and voila - the bug is gone!
Remember to keep the copies of all changing files - just in case !!!