[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-mailutils] mu_message_get_attachment_name bug
From: |
Kostik |
Subject: |
[bug-mailutils] mu_message_get_attachment_name bug |
Date: |
Thu, 01 Apr 2010 19:38:37 +0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 |
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] mu_message_get_attachment_name bug,
Kostik <=