The following issue has been SUBMITTED.
======================================================================
http://dbmail.org/mantis/view.php?id=538
======================================================================
Reported By: maximP
Assigned To:
======================================================================
Project: DBMail
Issue ID: 538
Category: general delivery
Reproducibility: sometimes
Severity: minor
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 15-Mar-07 17:06 CET
Last Modified: 15-Mar-07 17:06 CET
======================================================================
Summary: incorrect field cache values for messages containing
8-bit headers
Description:
It's the supplement to Bug 499 resolving.
While processing wrong messages with not encoded (8-bit) headers, such
headers are obtained by gmime functions not capable to treat them
(g_mime_message_get_subject, etc.) and passed to gmime functions expecting
encoded or utf-8 headers (internet_address_parse_string,
g_mime_utils_header_decode_text, etc.), so abracadabra is inserted in
{subject,from}field DB tables. Proposed patch solves this by converting
headers to utf-8 and properly encoded strings for internal processing and
converting to DB encoding before inserting into DB, so field cache tables
could be used in IMAP message searching later (though such operation is
not yet usable for non-latin strings, since IMAP search arguments aren't
converted to DB encoding before comparing to DB field cache values).
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
15-Mar-07 17:06 maximP New Issue
15-Mar-07 17:06 maximP File Added: dbmail.WrongHead.patch
======================================================================
_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev