Ich Neumon <ichneumo...@gmail.com> added the comment: Looks like this one needs reopening to me... I've recently had to parse out attachments with the following Content-Type lines and no Content-Disposition provided:
Content-Type: application/vnd.ms-excel; name=transactions.xls It might not seem like much, but the content-type check for this workaround in get_filename appears to be case-sensitive, and thus misses the upper case "T" in Content-Type. There is no information provided in the headers about the mailer they use, but they get plenty of other bits wrong too (eg. the xls file is actually just tab-separated values). ---------- nosy: +ichneumon _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1403349> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com