Re: [Patch] Fix handling of Multipart/Related

Peter Bloomfield <[email protected]> Sun, 17 Nov 2019 21:55:43 -0500
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
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

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQS030wPRfNNA5alz3MfX9S1uSp09QUCXdIILwAKCRAfX9S1uSp0
9QJEAKCP30M1OXWMm0tSHyoiCI+QNfCAIACZAXqkdf5JCKGF1zm7QEypIbdDqG8=
=fuOc
-----END PGP SIGNATURE-----