From c2517a3bdcc704cb3ad3e25543142e4d7d30fb05 Mon Sep 17 00:00:00 2001 From: jangliss Date: Mon, 28 Jul 2003 02:39:14 +0000 Subject: [PATCH] When appending a message, the returned data still included a ) from the IMAP response, this would be appended to the emails. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5461 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 1 + src/move_messages.php | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4dbab8f7..04d91cec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -66,6 +66,7 @@ Version 1.5.0 -- CVS forms. This was suggested for the gpg plugin, but might be useful elsewhere. - Add support for Mail-Followup-To header. - Add a confirmation for the user that their mail has been sent. + - Fixed issue with forwarding emails having a ) appended to the end. ************************************** *** SquirrelMail Stable Series 1.4 *** diff --git a/src/move_messages.php b/src/move_messages.php index c27c0a15..51af2ce4 100644 --- a/src/move_messages.php +++ b/src/move_messages.php @@ -67,6 +67,7 @@ function attachSelectedMessages($msg, $imapConnection) { } array_shift($body_a); + array_pop($body_a); $body = implode('', $body_a); $body .= "\r\n"; -- 2.25.1