issues@javamail.java.net

[Bug 5218] BODYSTRUCTURE does not correctly parse extension fields for single-part message

From: <bugzilla-daemon_at_kenai.com>
Date: Fri, 11 May 2012 19:32:19 +0000

http://kenai.com/bugzilla/show_bug.cgi?id=5218

Bill Shannon <shannon_at_kenai.com> changed:

           What |Removed |Added
----------------------------------------------------------------------------
             Status|NEW |RESOLVED
         Resolution| |INVALID

--- Comment #1 from Bill Shannon <shannon_at_kenai.com> 2012-05-11 19:32:19 UTC ---
It's a bug in the server. The "NIL" after the "19" is the MD5.
The next item should be the disposition. Here's the syntax rules
from the IMAP spec (RFC 3501):

body-type-1part = (body-type-basic / body-type-msg / body-type-text)
                  [SP body-ext-1part]
body-ext-1part = body-fld-md5 [SP body-fld-dsp [SP body-fld-lang
                  [SP body-fld-loc *(SP body-extension)]]]
body-fld-dsp = "(" string SP body-fld-param ")" / nil

Note how the last item explicitly includes parentheses.

Please report this bug to Microsoft.

-- 
Configure bugmail: http://kenai.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.