Hi Ildar! On 03/10/2009 06:15:48 AM Tue, Ildar Mulyukov wrote:
Hi!I extensively use balsa built with gmime-2.4 . Unfortunately this is not official yet. Found another regression. When I attach a file with non-ascii filename, then balsa makes something strange, resulting e.g:Content-Type: text/plain; charset=us-ascii; name*=koi8-r''%C6%C6%C6.txt Content-Disposition: attachment; filename*=koi8-r''%C6%C6%C6.txt That was the file /tmp/ффф.txt
That looks like a correct RFC-2184 encoding of MIME parameter values.
Normally it should be different, like this: Content-Type: application/vnd.ms-excel;name="=?windows-1251?B?5+Dv8O7xIO7yIDAyLjAzLjIwMDko8err4OQpLnhscw==?="Content-Disposition: attachment;filename="=?windows-1251?B?5+Dv8O7xIO7yIDAyLjAzLjIwMDko8err4OQpLnhscw==?="
That would seem to violate RFC 2047:
+ An 'encoded-word' MUST NOT appear within a 'quoted-string'.
Best, Peter
Attachment:
pgpQ0C7onEVzR.pgp
Description: PGP signature