mu: escape the name of the part

This commit is contained in:
Nicolas Richard 2016-02-10 15:03:31 +01:00
parent 930df157e2
commit f9d174af57
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ each_part (MuMsg *msg, MuMsgPart *part, PartInfo *pinfo)
":attachment %s :size %i %s %s)",
pinfo->parts ? pinfo->parts: "",
part->index,
name ? name : "noname",
name ? mu_str_escape_c_literal(name, TRUE) : "noname",
part->type ? part->type : "application",
part->subtype ? part->subtype : "octet-stream",
tmpfile ? " :temp" : "", tmpfile ? tmpfile : "",