james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Bug in QuotedPrintableInputStream
Date Tue, 28 Jan 2014 16:05:15 GMT
On Mon, 2014-01-27 at 14:44 +0000, Justin McCartney wrote:
> Hi,
> 
> I was using Mime4j to validate some emails supplied through an API to one of our internal
systems.  Strict parsing was set to true.
> 
> Here is the behaviour of Mime4j that is I feel incorrect in QuotedPrintableInputStream.
> 
> A text file used as an inline attachment:
> 
> Content-Type: text/plain; charset=Cp1252
> Content-Transfer-Encoding: quoted-printable
> 
> The second line below causes an error.  For clarity's sake I have added the the new line
characters as CR and LF.
> 
> <?xml version=3D"1.0" standalone=3D"no"?>CRLF
> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/=CRLF
> SVG/1.1/DTD/svg11.dtd" >CRLF
> 

Justin

Please raise a JIRA for this issue and attach the message causing the
exception to it.

Oleg



Mime
View raw message