-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Conditions probably more common than when the related code was written:
To: REDACTED
Subject: REDACTED
Date: Fri, 3 May 2019 16:41:13 +0000
Message-ID:
<DM6PR04MB520904A2D651378BB98350@DM6PR05209.namprd04.prod.outlook.com>
Content-Type: multipart/related;
boundary="_004_DM6PR04MB520904A2D6516D7C3FC378BB98350DM6PR04MB5209namp_";
type="multipart/alternative"
MIME-Version: 1.0
--_004_DM6PR04MB520904A2D6516D7C3FC378BB98350DM6PR04MB5209namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
hi
--_004_DM6PR04MB520904A2D6516D7C3FC378BB98350DM6PR04MB5209namp_
altermime --debug --input=cr --disclaimer=file.txt
when the input data is LF delimited, shows
mime_alter.c:1293:AM_read_headers:DEBUG: lfcount=0, crlfcount=0
mime_alter.c:1298:AM_read_headers:DEBUG:Delimeter set to CRLF
with --debug
leading it to think its CRLF delimited (as lfcount is not > than crlfcount), and inserts a stray CR after the file.txt
Certainly we can't do if lfcount>=crcount.
It doesn't happen without the "quoted-printable".
Metadata
Metadata
Assignees
Labels
No labels