projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Content-transfer-encoding: ISO-8859-1 joins the 'no encoding' list
[citadel.git]
/
libcitadel
/
lib
/
mime_parser.c
diff --git
a/libcitadel/lib/mime_parser.c
b/libcitadel/lib/mime_parser.c
index b4c61a59622d6f0610dd42f822fe179042ef19e3..86905f1ee60fe54cd93cf624937f7de988e8ccef 100644
(file)
--- a/
libcitadel/lib/mime_parser.c
+++ b/
libcitadel/lib/mime_parser.c
@@
-210,6
+210,8
@@
void mime_decode(char *partnum,
strcpy(encoding, "");
if (!strcasecmp(encoding, "binary"))
strcpy(encoding, "");
+ if (!strcasecmp(encoding, "ISO-8859-1"))
+ strcpy(encoding, "");
/* If this part is not encoded, send as-is */
if ( (strlen(encoding) == 0) || (dont_decode)) {