Thread: www.postgresql.org/community/lists/ and attachments

www.postgresql.org/community/lists/ and attachments

From
Sergey Burladyan
Date:
I need help, how I must send a letter for the correct displaying
attachments in the web interface ? :-)

I was send attachment with "Content-Disposition: inline" but in web
interface it looks like two independent messages:
http://archives.postgresql.org/message-id/87r4xjc0ox.fsf@home.progtech.ru
and
http://archives.postgresql.org/pgsql-hackers/2012-02/msg01190.php

I was send attachment with "Content-Disposition: attachment" but web
interface show it as empty MIME part:
http://archives.postgresql.org/message-id/87hay1iksj.fsf@home.progtech.ru

So, if I not mistaken, for correct displaying attachments in the web interface,
attachments must be with "Content-Disposition: attachment" and it must
be last MIME part of message. Right?

Sorry for inconvenience %)

-- 
Sergey Burladyan


Re: www.postgresql.org/community/lists/ and attachments

From
Alvaro Herrera
Date:
Excerpts from Sergey Burladyan's message of mar mar 06 17:23:28 -0300 2012:
>
> I need help, how I must send a letter for the correct displaying
> attachments in the web interface ? :-)

The solution is not to use the "git format-patch" patch format, unless
you ensure that your MUA also base64-encodes the attachment.
Otherwise, the parser gets all confused by the additional "From " line
in your email.  Yes, the parser is buggy -- nothing we can do about it
right now.  (Both MHonArc and formail are identically broken.)

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


Re: www.postgresql.org/community/lists/ and attachments

From
Sergey Burladyan
Date:
Alvaro Herrera <alvherre@commandprompt.com> writes:

> Excerpts from Sergey Burladyan's message of mar mar 06 17:23:28 -0300 2012:
> > 
> > I need help, how I must send a letter for the correct displaying
> > attachments in the web interface ? :-)
>
> The solution is not to use the "git format-patch" patch format, unless
> you ensure that your MUA also base64-encodes the attachment.
> Otherwise, the parser gets all confused by the additional "From " line
> in your email.  Yes, the parser is buggy -- nothing we can do about it
> right now.  (Both MHonArc and formail are identically broken.)

I understand, thank you for help!

-- 
Sergey Burladyan