james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Detelin Hadzhiev (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] [Updated] (MIME4J-244) Cannot decode "quoted printable" encoded message which have space before equal sign("=") in strict mode
Date Tue, 28 Apr 2015 14:44:06 GMT

     [ https://issues.apache.org/jira/browse/MIME4J-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Detelin Hadzhiev updated MIME4J-244:
------------------------------------
    Description: 
Lets assume that we an encoded message like this:
"text before eq sign =\r\n text after LF"

When you try to decode it using QuotedPrintableInputStream in Strict Mode you will get  following
exception:
java.io.IOException: Found LF without CR
	at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read0(QuotedPrintableInputStream.java:195)
	at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read(QuotedPrintableInputStream.java:317)
	at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read(QuotedPrintableInputStream.java:302)
	at org.apache.james.mime4j.codec.QuotedPrintableInputStreamTest.read(QuotedPrintableInputStreamTest.java:199)
The same is fine using SILENT mode.

  was:
Lets assume that we an encoded message like this:
"text before eq sign =\r\n text after LF"


When you try to decode it using QuotedPrintableInputStream you will get  following exception:
java.io.IOException: Found LF without CR
	at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read0(QuotedPrintableInputStream.java:195)
	at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read(QuotedPrintableInputStream.java:317)
	at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read(QuotedPrintableInputStream.java:302)
	at org.apache.james.mime4j.codec.QuotedPrintableInputStreamTest.read(QuotedPrintableInputStreamTest.java:199)



> Cannot decode "quoted printable" encoded message which have space before equal sign("=")
in strict mode
> -------------------------------------------------------------------------------------------------------
>
>                 Key: MIME4J-244
>                 URL: https://issues.apache.org/jira/browse/MIME4J-244
>             Project: James Mime4j
>          Issue Type: Bug
>          Components: parser (core)
>    Affects Versions: 0.7.3
>            Reporter: Detelin Hadzhiev
>
> Lets assume that we an encoded message like this:
> "text before eq sign =\r\n text after LF"
> When you try to decode it using QuotedPrintableInputStream in Strict Mode you will get
 following exception:
> java.io.IOException: Found LF without CR
> 	at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read0(QuotedPrintableInputStream.java:195)
> 	at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read(QuotedPrintableInputStream.java:317)
> 	at org.apache.james.mime4j.codec.QuotedPrintableInputStream.read(QuotedPrintableInputStream.java:302)
> 	at org.apache.james.mime4j.codec.QuotedPrintableInputStreamTest.read(QuotedPrintableInputStreamTest.java:199)
> The same is fine using SILENT mode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message