[evolution/kill-bonobo] Part of bug #580212 - Report inline parts only when found both tags
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution/kill-bonobo] Part of bug #580212 - Report inline parts only when found both tags
- Date: Tue, 2 Jun 2009 10:43:16 -0400 (EDT)
commit 6516c41c846cfe5e4216c4797f155dc7e2b6fb43
Author: Milan Crha <mcrha redhat com>
Date: Mon Jun 1 19:15:55 2009 +0200
Part of bug #580212 - Report inline parts only when found both tags
When parsing inline parts, like inline signatures, report the part
type only when found also the end tag for the part type.
---
mail/em-inline-filter.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/mail/em-inline-filter.c b/mail/em-inline-filter.c
index ddc579b..efc05d7 100644
--- a/mail/em-inline-filter.c
+++ b/mail/em-inline-filter.c
@@ -326,6 +326,9 @@ emif_scan(CamelMimeFilter *f, gchar *in, gsize len, gint final)
}
if (final) {
+ /* always stop as plain, especially when not read those tags fully */
+ emif->state = EMIF_PLAIN;
+
emif_add_part(emif, data_start, inend-data_start);
} else {
g_byte_array_append(emif->data, (guchar *)data_start, inend-data_start);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]