aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-10-30 20:41:17 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-30 20:41:17 +0800
commitdc918f67f310428b4f0ef3b098b1136e17f42668 (patch)
treea47c2c14a8c134ee03210e1444484bbdc37f9753
parent99ece02b9d27da540b5e66dcb808695ee182bca8 (diff)
downloadgsoc2013-evolution-dc918f67f310428b4f0ef3b098b1136e17f42668.tar.gz
gsoc2013-evolution-dc918f67f310428b4f0ef3b098b1136e17f42668.tar.zst
gsoc2013-evolution-dc918f67f310428b4f0ef3b098b1136e17f42668.zip
Remove the X-Evolution header before anyone else gets to see this private
2001-10-30 <NotZed@Ximian.com> * providers/local/camel-mbox-folder.c (mbox_get_message): Remove the X-Evolution header before anyone else gets to see this private thing. Shoudl fix 11676 since we were inheriting flags from X-Evolution headers we didn't want to. svn path=/trunk/; revision=14453
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/local/camel-mbox-folder.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 3da7f70b44..02563cc235 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,10 @@
2001-10-30 <NotZed@Ximian.com>
+ * providers/local/camel-mbox-folder.c (mbox_get_message): Remove
+ the X-Evolution header before anyone else gets to see this private
+ thing. Shoudl fix 11676 since we were inheriting flags from
+ X-Evolution headers we didn't want to.
+
* camel-folder-search.c (match_message): If we can't retrieve the
message, ignore it, it can't match.
diff --git a/camel/providers/local/camel-mbox-folder.c b/camel/providers/local/camel-mbox-folder.c
index 534269d455..eb3faf166b 100644
--- a/camel/providers/local/camel-mbox-folder.c
+++ b/camel/providers/local/camel-mbox-folder.c
@@ -397,6 +397,8 @@ retry:
return NULL;
}
+ camel_medium_remove_header((CamelMedium *)message, "X-Evolution");
+
/* and unlock now we're finished with it */
camel_local_folder_unlock(lf);