On 12-09-29 19:47:24, Sebastian Tramp wrote:
> On Sat, Sep 29, 2012 at 11:46:55AM +0200, P. Mazart wrote:
> 
> > > … [Content-Disposition-Header] … But I must disagree: a *lot* of people 
> > > are
> > > using the stock MUA. Simply because they don't care. That's why this issue
> > > shouldn't be neglected.
> > 
> > I agree. But is this really a problem with mutt rather than android’s stock
> > MUA?
> 
> I have the same problem. Can you provide the patch somewhere?
> 
> ST
> 
> -- 
> WebID: http://sebastian.tramp.name

Hi there,

For those using the patch I provided for compatibility with Android stock MUA, I
just noticed a mistake of mine: attachments you send have no name! A quick look
at the header and you will see that the "filename" variable is missing. This is
because I short-circuited the whole process.

Thanksfully I managed to fix this. I handled the issue differently: if a part of
the e-mail has no file (e.g. e-mail body) then Content-Disposition line is not
printed at all. Otherwise Content-Disposition is printed with filename="..."
after it.

So basically that's exactly Mutt's default behaviour for attachments. Only
e-mail body will be affected, which is exactly what we want for Android 
compatibility.

You can get my new (hopefully) fully-functional patch at the same location:
https://aur.archlinux.org/packages.php?ID=63185

Cheers

-- 
Pierre Neidhardt

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

As you will see, I told them, in no uncertain terms, to see Figure one.
                -- Dave "First Strike" Pare

Reply via email to