DecoderUtil.decodeEncodedWords() should ignore linear-white-space that
separates a pair of adjacent encoded-words
-----------------------------------------------------------------------------------------------------------------
Key: MIME4J-104
URL: https://issues.apache.org/jira/browse/MIME4J-104
Project: JAMES Mime4j
Issue Type: Bug
Affects Versions: 0.5
Reporter: Markus Wiederkehr
Fix For: 0.6
See RFC 2047 section 6.2. (Display of 'encoded-word's):
"When displaying a particular header field that contains multiple
'encoded-word's, any 'linear-white-space' that separates a pair of adjacent
'encoded-word's is ignored."
For example after unfolding MIME4J currently decodes the header field ..
Subject: =?ISO-8859-1?B?SWYgeW91IGNhbiByZWFkIHRoaXMgeW8=?=
=?ISO-8859-2?B?dSB1bmRlcnN0YW5kIHRoZSBleGFtcGxlLg==?=
.. into "Subject: If you can read this yo u understand the example."
Notice the space character in "yo u" that should not be there..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]