bug-mailutils
[Top][All Lists]
Advanced

[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:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0

Hi!

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).
http://greenbytes.de/tech/tc2231/#attfncontnc

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=
        "=?koi8-r?B?4OTrIOTP0CDLIM/LwdrBzsnAINXTzNXHICsg0NLJzcXewc7J0S5kb2N=?="
Content-Description:
=?koi8-r?B?4OTrIOTP0CDLIM/LwdrBzsnAINXTzNXHICsg0NLJzcXewc7J0S5kb2N=?=
Content-Disposition: attachment; filename=

"=?koi8-r?B?4OTrIOTP0CDLIM/LwdrBzsnAINXTzNXHICsg0NLJzcXewc7J0S5kb2N=?=";
        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.

Works:
-- 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... :)

=kostik



reply via email to

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