projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caa8041
)
Ignore wrong encoding in multipart/*
author
Philipp Takacs
<philipp@bureaucracy.de>
Tue, 4 Aug 2015 19:26:14 +0000
(21:26 +0200)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Mon, 10 Aug 2015 08:18:30 +0000
(10:18 +0200)
If a multipart message has an encoding other then
7bit or 8bit, 7bit encoding is assumed.
uip/mhparse.c
patch
|
blob
|
history
diff --git
a/uip/mhparse.c
b/uip/mhparse.c
index
fad75d7
..
7a15b75
100644
(file)
--- 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 */