From: Philipp Takacs Date: Tue, 4 Aug 2015 19:26:14 +0000 (+0200) Subject: Ignore wrong encoding in multipart/* X-Git-Tag: mmh-0.2-RC1~32^2~2 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=0b4cb45a0dd18d07f6af9d77283ee369bd17b14e;p=mmh Ignore wrong encoding in multipart/* If a multipart message has an encoding other then 7bit or 8bit, 7bit encoding is assumed. --- diff --git a/uip/mhparse.c b/uip/mhparse.c index fad75d7..7a15b75 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -1035,7 +1035,7 @@ InitMultiPart(CT ct) if (ct->c_encoding != CE_7BIT && ct->c_encoding != CE_8BIT && ct->c_encoding != CE_BINARY) { admonish(NULL, "\"%s/%s\" type in message %s must be encoded in 7bit, 8bit, or binary", ci->ci_type, ci->ci_subtype, ct->c_file); - return NOTOK; + ct->c_encoding = CE_7BIT; } /* match subtype */