From baca0d3a3ab1e1cbd9e48ade3dd93f9eadbf261e Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 8 Jul 2015 12:47:04 -0400 Subject: [bug] fix the rendering of nested multipart This commit fix a very simplistic and until now broken handling of nested multipart that went undetected due to the structure of the mails used in tests until now. Incidentally, the way that Mail.app structures attachments made this bug noticeable. There was also an off-by-one indexing error when retrieving the subpart message for a given subpart. Be aware that the current implementation will only handle correctly 2 levels of multipart nesting. Extending beyond in a more generic way will need further work. Closes: #7244 --- mail/changes/bug_7244_fix_nested_multipart | 1 + 1 file changed, 1 insertion(+) create mode 100644 mail/changes/bug_7244_fix_nested_multipart (limited to 'mail/changes/bug_7244_fix_nested_multipart') diff --git a/mail/changes/bug_7244_fix_nested_multipart b/mail/changes/bug_7244_fix_nested_multipart new file mode 100644 index 0000000..2d9cd8d --- /dev/null +++ b/mail/changes/bug_7244_fix_nested_multipart @@ -0,0 +1 @@ +- Fix nested multipart rendering. Closes: #7244 -- cgit v1.2.3