From aef5c895087b4930cce4d2eb5d382c99f1f2ad5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Thu, 14 Jun 2012 19:49:26 +0200 Subject: Bug #677673 - Reply contains quoted top headers --- em-format/e-mail-formatter-quote.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/em-format/e-mail-formatter-quote.c b/em-format/e-mail-formatter-quote.c index e4a221e3d1..85016dbe55 100644 --- a/em-format/e-mail-formatter-quote.c +++ b/em-format/e-mail-formatter-quote.c @@ -105,6 +105,11 @@ mail_formatter_quote_run (EMailFormatter *formatter, if (!part) continue; + if (g_str_has_suffix (part->id, ".headers") && + !(qf_context->qf_flags & E_MAIL_FORMATTER_QUOTE_FLAG_HEADERS)) { + continue; + } + if (g_str_has_suffix (part->id, ".rfc822")) { gchar *end = g_strconcat (part->id, ".end", NULL); -- cgit v1.2.3