aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog9
-rw-r--r--camel/camel-mime-part.c2
2 files changed, 11 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 39bb9482fa..b1e3b95563 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,12 @@
+2003-08-13 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-mime-part.c (write_to_stream): If the content is
+ base64/qp/uu/etc encoded but the part is 7bit/8bit/(or otherwise
+ non-encoded), set reencode to TRUE so that we decode the original
+ content stream. Fixes a bug noticed on
+ evolution-patches@ximian.com where a patch had a
+ Content-Transfer-Encoding of 7bit but was base64 encoded.
+
2003-08-13 Not Zed <NotZed@Ximian.com>
* camel-folder-summary.c (camel_folder_summary_remove_range): Fix
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index a31c179d99..5fdfac5ef8 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -703,6 +703,8 @@ write_to_stream (CamelDataWrapper *dw, CamelStream *stream)
filter = (CamelMimeFilter *) camel_mime_filter_basic_new_type (CAMEL_MIME_FILTER_BASIC_UU_ENC);
break;
default:
+ /* content is encoded but the part doesn't want to be... */
+ reencode = TRUE;
break;
}
}