https://bugs.freedesktop.org/show_bug.cgi?id=55411

          Priority: medium
            Bug ID: 55411
          Assignee: [email protected]
           Summary: Mailmerge: Attachment with foreign chars in filename
                    produces incorrect MIME headers
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 3.6.1.2 release
         Component: Writer
           Product: LibreOffice

If you do an e-mail merge with an attachment and the filename has foreign
characters (e. g. German umlauts) the resulting mail has incorrect MIME headers
(first part of "Content-Disposition" I suppose).

Some mail programs will ignore this and show the attachment anyway (Mac OS
mail.app which renames the attachment to a default name). Others fail to show
the attachment completely (tested with different Webmailers, MS Outlook, ...).

Some examples:

LibO 3.6 (note the unnecessary UTF-encoded "attachment;")

--===============1083777418==
Content-Type: application/pdf
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: =?utf-8?q?attachment=3B_filename=3D=22Fru=CC=88hlingsm?=
    =?utf-8?q?arkt_2013_Bewerbungsbogen=2Epdf=22?=


A "correct" (readable by all tested mail apps) version produced by Thunderbird


--------------070803060102000807020303
Content-Type: application/pdf;
 name="erw poliz =?UTF-8?B?RnXMiGhydW5nc3pldWduaXMucGRm?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename*0*=UTF-8''%65%72%77%20%70%6F%6C%69%7A%20%46%75%CC%88%68%72%75%6E;
 filename*1*=%67%73%7A%65%75%67%6E%69%73%2E%70%64%66

Or something like this (Kerio Connect WebMail with different char set):

-------------bde77112a49a8fcc00e1f31ee505516f
Content-Type: application/pdf
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
    filename="=?iso-8859-1?Q?=DCmlaute=2Epdf?="

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to