Robert Burrell Donkin ha scritto:
On Sun, Aug 24, 2008 at 12:49 PM, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
I don't know if "Subject:" alone in a line is a valid header so I don't know
what implementation does the right thing here.
IIRC that's a cpature of an actual wild email
AIUI anything after the colon can be wrapped by adding CRLF and
starting the next line with whitespace. if so then the header's
legitimate.
Adding a space after the colon fixed the javamail parsing. I didn't have
the time to check the mime grammar to understand if this is a bug or not.
Unless anyone object I plan to change the .test files so to avoid this cases
(empty line on top and new line after headername) and let both
implementations pass the test suite.
i think the newline header is a bug but it's probably best to resolve
this at the parser level. maybe we need to raise bug reports with sun
and geronino about this parser corner case.
https://issues.apache.org/jira/browse/GERONIMO-4261
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]