diff options
author | Dan Vrátil <dvratil@redhat.com> | 2012-06-15 01:49:26 +0800 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2012-06-15 01:50:28 +0800 |
commit | aef5c895087b4930cce4d2eb5d382c99f1f2ad5c (patch) | |
tree | 7cc37b0140a6bc9572fb53e16fd0cedd317ea59c /em-format | |
parent | 2a4a12c470586ae39a2ce5b81cd19749168c371f (diff) | |
download | gsoc2013-evolution-aef5c895087b4930cce4d2eb5d382c99f1f2ad5c.tar gsoc2013-evolution-aef5c895087b4930cce4d2eb5d382c99f1f2ad5c.tar.gz gsoc2013-evolution-aef5c895087b4930cce4d2eb5d382c99f1f2ad5c.tar.bz2 gsoc2013-evolution-aef5c895087b4930cce4d2eb5d382c99f1f2ad5c.tar.lz gsoc2013-evolution-aef5c895087b4930cce4d2eb5d382c99f1f2ad5c.tar.xz gsoc2013-evolution-aef5c895087b4930cce4d2eb5d382c99f1f2ad5c.tar.zst gsoc2013-evolution-aef5c895087b4930cce4d2eb5d382c99f1f2ad5c.zip |
Bug #677673 - Reply contains quoted top headers
Diffstat (limited to 'em-format')
-rw-r--r-- | em-format/e-mail-formatter-quote.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |