[evolution-patches] header decoding patch
- From: Andrei Nigmatulin <nigmatulin_a incom-mcbn ru>
- To: evo-patch <evolution-patches lists ximian com>
- Subject: [evolution-patches] header decoding patch
- Date: Mon, 29 Mar 2004 13:58:52 +0400
Hello,
This patch fixes incorrect decoding of attachment filename.
If filename specified in Content-Disposition header is made
of two or more "encoded words" (in terms of rfc2047)
then mailer try to decode such filename as it was one "encoded word".
--- camel/camel-mime-utils.c
+++ camel/camel-mime-utils.c
@@ -2024,7 +2026,7 @@
*/
char *val;
- val = rfc2047_decode_word (value, strlen (value));
+ val = header_decode_text (value, strlen (value), NULL);
if (val) {
g_free (value);
value = val;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]