[Dovecot] bug or not bug :) ? in dovecot imap
Hi Timo Sirainen !
I have possible found the error at analysis of the body letter with embedding in national coding, in the manner of:
Content-Type: application/msword; name==?koi8-r?B?zcXUy8kgzsEgy9LP09MuZG9j?= Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename==?koi8-r?B?zcXUy8kgzsEgy9LP09MuZG9j?=
result of the output
telnet dovecotserver 143 ...
- fetch 5 full
- 5 FETCH (FLAGS (\Recent) INTERNALDATE "31-May-2005 14:32:15 +0600" RFC822.SIZE 28106 BODY (("text" "plain" ("charset" "koi8-r") NIL NIL "8bit" 104 6) ("application" "msword" NIL NIL NIL "base64" 26628) "mixed") ENVELOPE ("Tue, 31 May 2005 08:59:39 +0600" "=?koi8-r?B?1MXT1A==?=" (("kirill lopuchov" NIL "kirill" "soda.ru"))
If put(deliver) the quotation marks that name file returns it is correct..
Content-Type: application/msword; name="=?koi8-r?B?zcXUy8kgzsEgy9LP09MuZG9j?=" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="=?koi8-r?B?zcXUy8kgzsEgy9LP09MuZG9j?="
the example of the embedding see in my letter !!!!
On Tue, 2005-06-07 at 13:35 +0400, Руслан Шарафутдинов wrote:
Content-Type: application/msword; name==?koi8-r?B?zcXUy8kgzsEgy9LP09MuZG9j?= .. If put(deliver) the quotation marks that name file returns it is correct..
Content-Type: application/msword; name="=?koi8-r?B?zcXUy8kgzsEgy9LP09MuZG9j?="
Well, like I said in my previous mail to you:
It's not really a Dovecot bug because the quotation marks are required to be there if the value contains '=' characters.. I don't think I'm going to change my parser either because it would just make the code uglier.
participants (2)
-
Timo Sirainen
-
Руслан Шарафутдинов