You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by "Markus Wiederkehr (JIRA)" <mi...@james.apache.org> on 2009/01/27 17:03:05 UTC

[jira] Closed: (MIME4J-104) DecoderUtil.decodeEncodedWords() should ignore linear-white-space that separates a pair of adjacent encoded-words

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

Markus Wiederkehr closed MIME4J-104.
------------------------------------

    Resolution: Fixed

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