Content-transfer-encoding: ISO-8859-1 joins the 'no encoding' list
authorArt Cancro <ajc@citadel.org>
Fri, 17 Dec 2010 04:10:06 +0000 (23:10 -0500)
committerArt Cancro <ajc@citadel.org>
Fri, 17 Dec 2010 04:10:06 +0000 (23:10 -0500)
libcitadel/lib/mime_parser.c

index b4c61a59622d6f0610dd42f822fe179042ef19e3..86905f1ee60fe54cd93cf624937f7de988e8ccef 100644 (file)
@@ -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)) {