Hi All! In the last updated mimetest.c:
if "Content-Type" contain only type without name and without semicolon(;) at the end, then mu_header_sget_value() already return type. But mu_mimehdr_aget_disp() return NULL. Example: --- Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="=?utf-8?B?0JrQvtC80LzQtdGA0YfQtdGB0LrQvtC1?= =?utf-8?B?IA==?= =?utf-8?B?0L/RgNC10LTQu9C+0LbQtdC90LjQtQ==?= (NewPro).docx" --- * hvalue=application/octet-stream * type=(null) But if (semicolon is here ------------v): --- Content-Type: application/octet-stream; Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="=?utf-8?B?0JrQvtC80LzQtdGA0YfQtdGB0LrQvtC1?= =?utf-8?B?IA==?= =?utf-8?B?0L/RgNC10LTQu9C+0LbQtdC90LjQtQ==?= (NewPro).docx" --- * hvalue=application/octet-stream; * type=application/octet-stream =kostik _______________________________________________ Bug-mailutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-mailutils
