diff --git a/lib/mu-msg-sexp.c b/lib/mu-msg-sexp.c index d84bf310..4d2f9a9b 100644 --- a/lib/mu-msg-sexp.c +++ b/lib/mu-msg-sexp.c @@ -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 : "",