dovecot-1.2: deliver_log_format: %s should contain subject in UT...
dovecot at dovecot.org
dovecot at dovecot.org
Thu May 21 00:51:03 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/0fdffcb66945
changeset: 9068:0fdffcb66945
user: Timo Sirainen <tss at iki.fi>
date: Wed May 20 17:50:57 2009 -0400
description:
deliver_log_format: %s should contain subject in UTF8, not in MIME-encoded form.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/deliver/deliver.c | 2 +-
diffs (12 lines):
diff -r e7792f4509e6 -r 0fdffcb66945 src/deliver/deliver.c
--- a/src/deliver/deliver.c Wed May 20 17:47:49 2009 -0400
+++ b/src/deliver/deliver.c Wed May 20 17:50:57 2009 -0400
@@ -116,7 +116,7 @@ get_log_var_expand_table(struct mail *ma
tab[0].value = message;
(void)mail_get_first_header(mail, "Message-ID", &tab[1].value);
- (void)mail_get_first_header(mail, "Subject", &tab[2].value);
+ (void)mail_get_first_header_utf8(mail, "Subject", &tab[2].value);
tab[3].value = deliver_get_address(mail, "From");
for (i = 1; tab[i].key != '\0'; i++)
tab[i].value = str_sanitize(tab[i].value, 80);
More information about the dovecot-cvs
mailing list