[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-

From: Kostik
Subject: Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?
Date: Wed, 07 Apr 2010 18:01:44 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100228 Thunderbird/ Mnenhy/


Sergey Poznyakoff wrote:
> You don't have GNU Radius installed.  Get this file:
> and drop it somewhere in your macro search path[1]. Then re-run
> bootstrap.

Ок, I did it. Now I use the mailutils from git.

Current situation:

1. Yes, "filename with newline" works well. Thanx.

2. get_attachment_name for message with filename*0*, filename*1* , ...
works. But does not work, if filename*0*, filename*1*, filename*3*
(filename*2* is missing).

Any way, do I correctly understand: after that I must do
mu_url_decode(fname) for decode such filenames. Yes?

3. Does not work: attachment_name=(null) for Content-Disposition like this:
Content-Type: application/msword; name=
Content-Disposition: attachment; filename=

        size=45056; creation-date="Fri, 05 Feb 2010 00:50:05 GMT";
        modification-date="Wed, 10 Feb 2010 09:43:24 GMT"
Content-Transfer-Encoding: base64
I sent you an example of such attachment.

4. Looks like the problem described above.

-- Content-Disposition: attachment; filename="111.doc"

Does not work but really existing attachements:
-- Content-Disposition: attachment; filename = "111.doc"
-- Content-Disposition: attachment; name = "111.doc"
-- Content-Disposition: attachment; name="111.doc"

Ufff... :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]