[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 19:44:57 +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 |
Sergey Poznyakoff wrote:
>> But does not work, if filename*0*, filename*1*, filename*3*
>> (filename*2* is missing).
>
> That's intended. It really should not. Quoth RFC 2231, section 3:
>
Yes, but if filename*0*="a", filename*1*="b", filename*3*="c".
get_attachment_name should return fname="ab" (excluding "с"), is not it?
But now return NULL.
> Nope. I've forgotten to inform you (or, better said, supposed
> you to have paid attention to the ChangeLog, alias git log. It's a rule
> of thumb now, that you've cloned the repo): use
> mu_message_aget_decoded_attachment_name, which does all the dirty
> work for you. E.g.:
Well, try to use it, I'll tell the result later.
>> 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"
>
> Hmm, give more details please, would you?
-- ordinary mime header, but if "Content-Disposition" has "name" param
instead "filename", get_attachment_name return NULL.
-- ordinary mime header, but if "filename"("name") separated from "equal
sign"("=") by space, get_attachment_name return NULL.
Example:
---- filename="111.doc" - works well.
---- filename = "111.doc" - does not work (space before and after "equal
sign"("="))
=kostik
- [bug-mailutils] How get_attachment_name from multiline Content-Disposition?, Kostik, 2010/04/02
- Re: [bug-mailutils] How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/02
- [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Kostik, 2010/04/05
- [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Kostik, 2010/04/05
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/06
- Message not available
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/06
- [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Kostik, 2010/04/07
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/07
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Kostik, 2010/04/07
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/07
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?,
Kostik <=
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/07
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/08
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Kostik, 2010/04/08
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/08
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Kostik, 2010/04/08
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/08
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Kostik, 2010/04/08
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/08
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Kostik, 2010/04/08
- Re: [bug-mailutils] Re: How get_attachment_name from multiline Content-Disposition?, Sergey Poznyakoff, 2010/04/08