From 19b8c555ef29b56ae67aa2e9a55bcc570b019d53 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 5 Jul 2018 11:29:46 +0200 Subject: [PATCH] Replace & with placeholder according to mailto string processing --- addressbook/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addressbook/js/app.js b/addressbook/js/app.js index 0ade9e5220..d0029e91ae 100644 --- a/addressbook/js/app.js +++ b/addressbook/js/app.js @@ -864,14 +864,14 @@ app.classes.addressbook = AppJS.extend( switch (action.id) { case "add_to_to": - egw.open_link('mailto:' + emails.join(',')); + egw.open_link('mailto:' + emails.join(',').replace(/&/g, '__AMPERSAND__')); break; case "add_to_cc": - egw.open_link('mailto:' + '?cc=' + emails.join(',')); + egw.open_link('mailto:' + '?cc=' + emails.join(',').replace(/&/g, '__AMPERSAND__')); //egw.mailto('mailto:'); break; case "add_to_bcc": - egw.open_link('mailto:' + '?bcc=' + emails.join(',')); + egw.open_link('mailto:' + '?bcc=' + emails.join(',').replace(/&/g, '__AMPERSAND__')); break; }