From 2e5eb47695ee59d15af41686a9f091cfe2407ed0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 21 Mar 2003 21:54:59 +0000 Subject: Camel part of the fix for Lewing's bug #39204. Second half of the patch 2003-03-21 Jeffrey Stedfast Camel part of the fix for Lewing's bug #39204. Second half of the patch should also fix it so that text/plain parts that are detected as being text/html are rendered as html (not that I agree with this mind you, but corporate customers want this "feature"). * camel-mime-part-utils.c (simple_data_wrapper_construct_from_parser): If the part is text/html and doesn't have a charset and we are able to find a charset in the meta tags of the html content, set the charset param on the content-type. (camel_mime_part_construct_content_from_parser): After setting the content object on the mime part, re-set the content-type of the content object back to the one from the parser (as it may contain changes from the original - see changes made to the ct in simple_data_wrapper_construct_from_parser for details). svn path=/trunk/; revision=20463 --- camel/ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'camel/ChangeLog') diff --git a/camel/ChangeLog b/camel/ChangeLog index 3f03dd6ff6..db9c0d67e4 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,21 @@ +2003-03-21 Jeffrey Stedfast + + Camel part of the fix for Lewing's bug #39204. Second half of the + patch should also fix it so that text/plain parts that are + detected as being text/html are rendered as html (not that I agree + with this mind you, but corporate customers want this "feature"). + + * camel-mime-part-utils.c + (simple_data_wrapper_construct_from_parser): If the part is + text/html and doesn't have a charset and we are able to find a + charset in the meta tags of the html content, set the charset + param on the content-type. + (camel_mime_part_construct_content_from_parser): After setting the + content object on the mime part, re-set the content-type of the + content object back to the one from the parser (as it may contain + changes from the original - see changes made to the ct in + simple_data_wrapper_construct_from_parser for details). + 2003-03-21 Jeffrey Stedfast * camel-tcp-stream-ssl.c (camel_certdb_nss_cert_get): continue -- cgit v1.2.3