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

Bug#806717: Forwarding email with a long header causes longer than 998 byte lines



Hey,

I think the fix will be published with KMime 22.12.0 (should reach unstable the 
next days), as there is a MR request that should fix that:
https://invent.kde.org/pim/kmime/-/merge_requests/7

Regards,

hefee

--

On Dienstag, 13. Dezember 2022 20:14:28 CET Mikko Tuumanen wrote:
> I received an email with a x-ms-exchange-antispam-messagedata-0: header
> and I tried to forward it with kmail.
> 
> That caused error message:
> "The server said: maximum allowed line length is 998 octets, got 1702"
> 
> In the original message, the header was split into multiple lines like
> this:
> 
> x-ms-exchange-antispam-messagedata-0:
>  =?iso-8859-1?Q?X9nvzr27qYcmEJpSHcp6K5gWYoBjPRlTmpppdR4VrmwY1cP0Mp4QNB9+kY?=
> =?iso-8859-1?Q?ZWd5EsMdHUa4x0pKA1ObLVns8RuLFV3mCsHlMT31xBfLxra6jZ+p5hbSHx?=
> 
> 
> But when the message was forwarded with kmail, the header
> turned into one too long line:
> 
> x-ms-exchange-antispam-messagedata-0: lwf7pdVSQS1T...
> 
> 
> It seems that kmail has more than one header "fixing" problem.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: