Hideki SAKAMOTO writes:
Hi,Thank you for your quick release of 5.0.4.Now there was another claim that Thunderbird users could not delete attachments with UTF-8 filenames.Because Thunderbird add a new mime-part with delete comment like: --------------B9BFA3413B08F1FAB3A2AAC0 Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0"; name="=?UTF-8?B?44OG44K544OILnR4dA==?=" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*=utf-8''%E3%83%86%E3%82%B9%E3%83%88%2E%74%78%74 44OG44K544OI --------------B9BFA3413B08F1FAB3A2AAC0-- I'm not sure this part is violate RFC or not, but this error seemed to be avoidable with the attached patch(I reffered to libs/imap/fetch.c).
I don't see anything wrong here. I'm guessing that Thunderbird takes an existing message with 8-bit headers, and preserves them when APPENDing a new one. There is no IMAP function to detach attachments. This is done by adding a new message without the attachment, in place of the old one.
So, Thunderbird is preserving 8-bit headers, and the current code rejects the message for that reason.
pgpaE5jJqV64q.pgp
Description: PGP signature
_______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
