Thomas Bruederli wrote:
Zhang Huangbin wrote:
Hi, list.
Our user reported a strange issue: sent mail by roundcube 0.2/0.2.1/svn version, opened in MS Outlook, the attachment filename were changed:
Original | Changed file.xls => file.doc file.doc => file.dat
Is it a roundcube issue or Outlook issue?
Check the message source and you'll know.
Part of message source:
Content-Transfer-Encoding: base64 Content-Type: application/msword; name="Testik.xls"; charset="UTF-8" Content-Disposition: attachment; filename="Testik.xls"
Content-Transfer-Encoding: base64 Content-Type: application/msword; charset="UTF-8"; name*="UTF-8''HP%E6%8A%A5%E4%BB%B7.xls"; Content-Disposition: attachment; filename*="UTF-8''HP%E6%8A%A5%E4%BB%B7.xls";
--=_64a14c887e354cbcbefc12c74e27129a Content-Transfer-Encoding: base64 Content-Type: application/vnd.ms-excel; charset="UTF-8"; name*="UTF-8''HP%E6%8A%A5%E4%BB%B7.xls"; Content-Disposition: attachment; filename*="UTF-8''HP%E6%8A%A5%E4%BB%B7.xls";
Content-Transfer-Encoding: base64 Content-Type: application/vnd.ms-excel; charset="UTF-8"; name*="UTF-8''HP%E6%8A%A5%E4%BB%B7.xls"; Content-Disposition: attachment; filename*="UTF-8''HP%E6%8A%A5%E4%BB%B7.xls";
It seems roundcube 0.2.1-stable detects the correct mimetype.