diff --git a/CHANGELOG b/CHANGELOG index 8e7d1ee8e..da2f9864e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -35,6 +35,7 @@ CHANGELOG Roundcube Webmail - Markasjunk: Fix bug where moving to Junk was failing on messages selected with Select > All (#7206) - Fix so imap error message is displayed to the user on folder create/update (#7245) - Fix bug where a special folder couldn't be created if a special-use flag is not supported (#7147) +- Mailvelope: Fix bug where recipients with name were not handled properly in mail compose (#7312) RELEASE 1.4.3 ------------- diff --git a/program/js/app.js b/program/js/app.js index faefeb82e..056a1afe7 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3907,7 +3907,7 @@ function rcube_webmail() $.each(['to', 'cc', 'bcc'], function(i,field) { var pos, rcpt, val = $.trim($('[name="_' + field + '"]').val()); while (val.length && rcube_check_email(val, true)) { - rcpt = RegExp.$2; + rcpt = RegExp.$2.replace(/^<+/, '').replace(/>+$/, ''); recipients.push(rcpt); val = val.substr(val.indexOf(rcpt) + rcpt.length + 1).replace(/^\s*,\s*/, ''); }