Debian Codegraph @

debian/patches/07_fix-decode-base64-attachment.patch

raw symbols SCIP
1 Description: fix munpack fail to decode a base64 attachment
2 It's a patch for a bug in Ubuntu but it also affects Debian.
3 Author: Jacques Beigbeder (https://launchpad.net/%7Ejacques-beigbeder/+contactuser)
4 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mpack/+bug/1535630
5 Last-Update: 2016-01-20
6 --- mpack-1.6.orig/decode.c
7 +++ mpack-1.6/decode.c
8 @@ -828,7 +828,7 @@ int ignoreMessage(struct part *inpart)
9 int handleMultipart(struct part *inpart, char *contentType, params contentParams, int extractText)
10 {
11 char *id;
12 - char *defaultContentType = "text/plain";
13 + char *defaultContentType = "application/octet-stream";
14 int isAppleDouble = 0;
15
16 /* Components of multipart/digest have a different default content-type */