[Dovecot] Possible header parsing problem

Timo Sirainen tss at iki.fi
Fri Oct 24 13:36:56 EEST 2008


On Oct 24, 2008, at 12:35 PM, Jakob Hirsch wrote:

> Timo Sirainen wrote:
>
>> But I'm not sure if I should convert the following TAB to a space.
>> UW-IMAP seems to do that, but RFC just says that the CRLF should be
>> dropped.
>
> As pointed out in https://bugzilla.mozilla.org/show_bug.cgi? 
> id=240924#c7, this could lead to strange behaviour. So I'd vote for  
> replacing the folding tab to a space.

Actually Dovecot already replaces all tabs to spaces when sending  
ENVELOPE, BODY and BODYSTRUCTURE replies. The only issue here is about  
the internal parsing where I think it's better to be strict.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081024/cb2bb455/attachment.bin 


More information about the dovecot mailing list