diff options
author | Aleksander Machniak <alec@alec.pl> | 2020-10-05 19:15:47 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2020-10-05 19:17:54 +0300 |
commit | 26b4dc3cf73da9c1b57bb78c98d9ce23efd0ed4d (patch) | |
tree | 5735e6cf879e86575c043ac7cedce4e72cbbdaf0 | |
parent | 22bdb65bbf4e933cdac44b5a7988d00a9ba05993 (diff) |
Fix extra angle brackets in In-Reply-To header derived from mailto: params (#7655)
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | program/steps/mail/compose.inc | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ CHANGELOG Roundcube Webmail =========================== +- Fix extra angle brackets in In-Reply-To header derived from mailto: params (#7655) + RELEASE 1.4.9 ------------- - Fix HTML editor in latest Chrome 85.0.4183.102, update to TinyMCE 4.9.11 (#7615) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 10cc78ae9..73be67b36 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -246,7 +246,7 @@ else { // apply mailto: URL parameters if (!empty($COMPOSE['param']['in-reply-to'])) { - $COMPOSE['reply_msgid'] = '<' . $COMPOSE['param']['in-reply-to'] . '>'; + $COMPOSE['reply_msgid'] = '<' . trim($COMPOSE['param']['in-reply-to'], '<> ') . '>'; } if (!empty($COMPOSE['param']['references'])) { |