Hi All!
I try to start using libmailutils to create my own little mailfilter. And I
got a problem with "mu_message_aget_attachment_name".
If I try to get attachment name from message with attachment like:
---
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=drukarn0ia.doc
---
and got only: "drukarn0ia" (without extention).
For msg like:
---
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=The.Pacific.E03.PL.720p.HDTV.x264-ER.psd
---
got only: "The"
Looks like in "mailbox/attachment.c" call to:
"name = _header_get_param (value, "filename", &namesz);"
returns wrong name size. Because "_ISSPECIAL" not like dot(and some other
chars) in param.
Sergey or any body else: what am I doing wrong? How I can get full
attachment filename?
=kostik
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils