When appending a message, the returned data still included a ) from the
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 28 Jul 2003 02:39:14 +0000 (02:39 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 28 Jul 2003 02:39:14 +0000 (02:39 +0000)
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
src/move_messages.php

index 4dbab8f738ed08d4f6455bc52d61329288df76dd..04d91cecc8f3eb0d93008eb5cde9edc9aee03ac4 100644 (file)
--- 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 ***
index c27c0a1561155d79db41efd265f68bdba523ddfa..51af2ce4d2efe10d4d8ac8d5d632a4cf79e2f472 100644 (file)
@@ -67,6 +67,7 @@ function attachSelectedMessages($msg, $imapConnection) {
             }
 
             array_shift($body_a);
+            array_pop($body_a);
             $body = implode('', $body_a);
             $body .= "\r\n";