If the content is base64/qp/uu/etc encoded but the part is 7bit/8bit/(or
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. svn path=/trunk/; revision=22217
This commit is contained in:

committed by
Jeffrey Stedfast

parent
8cd6287932
commit
f0eabd3c20
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user