APPEND vs RFC2822 vs STD0011

Cyrus Daboo daboo at cyrusoft.com
Wed Jul 9 12:28:46 EDT 2003


Hi Edward,

--On Wednesday, July 9, 2003 11:58 AM -0400 Edward Reid <edward at paleo.org> 
wrote:

|> Allowing null characters in particular is problematic for any code
|> that
|> uses null-terminated strings for messages or parts of messages, and
|
| Using null-terminated strings with data that might contain nulls is
| problematic.

On the NULL issue, IMAP does not allow bare NULLs in any data that either 
the server or client sends. If you check the formal syntax you will see 
that the 'literal' element used to send the message content in an APPEND 
explicitly excludes NULL as a valid character. So if Eudora is sending bare 
NULLs that is a protocol bug you can bounce back to them and justify having 
them fix.

NB There is an IMAP BINARY extension in the works that does allow bare 
NULLs, but only when used with the specific extension syntax.

Bare CR or LF is another issue...

-- 
Cyrus Daboo




More information about the Info-cyrus mailing list