From 7286134382a9e1a2b4dfc86146b6f82086a56715 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 7 Feb 2023 10:50:40 +0100 Subject: [PATCH] Bugfix: inline images sometimes failed --- snappymail/v/0.0.0/app/libraries/MailSo/Imap/BodyStructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/BodyStructure.php b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/BodyStructure.php index 246231322..5ad1fce8a 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/BodyStructure.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/BodyStructure.php @@ -478,7 +478,7 @@ class BodyStructure implements \JsonSerializable $oStructure->sContentType = \strtolower(\trim($sContentTypeMain.'/'.$sContentTypeSub)); $oStructure->aContentTypeParams = $aContentTypeParams; $oStructure->sCharset = $sCharset; - $oStructure->sContentID = $sContentID; + $oStructure->sContentID = \trim($sContentID); $oStructure->sDescription = $sDescription; $oStructure->sMailEncodingName = \strtolower($sMailEncodingName); $oStructure->sDisposition = \strtolower($sDisposition);