From 0b4cb45a0dd18d07f6af9d77283ee369bd17b14e Mon Sep 17 00:00:00 2001 From: Philipp Takacs Date: Tue, 4 Aug 2015 21:26:14 +0200 Subject: [PATCH] Ignore wrong encoding in multipart/* If a multipart message has an encoding other then 7bit or 8bit, 7bit encoding is assumed. --- uip/mhparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 1.7.10.4