Commit 6bae988b authored by Matthias Andree's avatar Matthias Andree

Merge branch 'legacy_64' into legacy_6x

parents cda59e1e 5256f612
......@@ -206,6 +206,10 @@ fetchmail-6.4.0 (not yet released):
Fixes Debian Bug#928916, reported by Paul Kimoto.
* fetchmailconf would ignore Edit or Delete actions on the first (topmost)
item in a list (no matter if server list, user list, ...).
* The mimedecode feature now properly detects multipart/mixed-type matches, so
that quoted-printable-encoded multipart messages can get decoded.
(Regression in 5.0.0 on 1999-03-27, as a side effect of a PGP-mimedecode fix
attributed to Henrik Storner.)
## UPDATED TRANSLATIONS - THANKS TO:
* CS: Petr Pisar <[email protected]> [Czech]
......
This diff is collapsed.
......@@ -460,7 +460,7 @@ int MimeBodyType(char *hdrs, int WantDecode)
/* Check Content-Type to see if this is a multipart message */
if ( (CntType != NULL) &&
((strncasecmp(CntType, "multipart/mixed", 16) == 0) ||
((strncasecmp(CntType, "multipart/mixed", 15) == 0) ||
(strncasecmp(CntType, "message/", 8) == 0)) ) {
char *p1 = GetBoundary(CntType);
......@@ -470,7 +470,6 @@ int MimeBodyType(char *hdrs, int WantDecode)
the boundary string */
strcpy(MultipartDelimiter, "--");
strlcat(MultipartDelimiter, p1, sizeof(MultipartDelimiter));
MultipartDelimiter[sizeof(MultipartDelimiter)-1] = '\0';
BodyType = (MSG_IS_8BIT | MSG_NEEDS_DECODE);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment