Re: [Patch] Fix handling of Multipart/Related



Hi Albrecht:

On 11/17/2019 10:54:42 AM Sun, Albrecht Dreß wrote:
Hi all,

attached is a patch fixing three issues in the handling of multipart/related parts, typically used with 
inlined images for HTML messages:

(1) printing such a message just hangs, as I (shame on me) forgot to pass the body to the webkit callbacks;
(2) printing does not consider multipart/related at all, resulting in (after fixing #1 above) in a printout 
with the hatml body *and* all inlined images again;
(3) whilst typically the first child of a multipart/related is the “root” object, RFC 2387 Sect 3.2 defines a 
mechanism to use a different child.  Balsa ignores this parameter, and does not display such messages 
correctly.

The attached patch fixes both issues.

Comments?

Cheers,
Albrecht.

Thanks, as always,  for the patch--looks good to me! Pushed to GitLab…

Best,

Peter

Attachment: pgpTHDCmG3Jdq.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]