issues@javamail.java.net

[Bug 3539] Multiparts do not parse correctly in presence of legacy Mac line endings

From: <bugzilla-daemon_at_kenai.com>
Date: Sat, 13 Nov 2010 01:51:09 +0000 (GMT)

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


Bill Shannon <shannon_at_kenai.com> changed:

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




--- Comment #1 from Bill Shannon <shannon_at_kenai.com> 2010-11-13 01:51:07 ---
The code to read lines tried to handle 4 different kinds of line terminator:

NL - Unix
CR LF - Windows, MIME
CR - old Mac OS
CR CR LF - some broken internet servers

When the handling for that last case was added, the handling for
the third case was broken. I've fixed it, and added a unit test.

-- 
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.