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 "Aron Wieck (JIRA)" <mi...@james.apache.org> on 2009/08/18 13:46:14 UTC
[jira] Updated: (MIME4J-138) DecoderUtil.decodeEncodedWords() fails
if encoded-text starts with an equals sign
[ https://issues.apache.org/jira/browse/MIME4J-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aron Wieck updated MIME4J-138:
------------------------------
Attachment: RegexDecoderUtil.java
Proposed fix using Regular Expression. The class RegexDecoderUtil only contains the 3 changed methods.
> DecoderUtil.decodeEncodedWords() fails if encoded-text starts with an equals sign
> ---------------------------------------------------------------------------------
>
> Key: MIME4J-138
> URL: https://issues.apache.org/jira/browse/MIME4J-138
> Project: JAMES Mime4j
> Issue Type: Bug
> Affects Versions: 0.6
> Reporter: Markus Wiederkehr
> Assignee: Markus Wiederkehr
> Fix For: 0.7
>
> Attachments: RegexDecoderUtil.java
>
>
> For example "=?utf-8?Q?=20test?=" should be decoded as " test". Instead it does not get decoded at all.
> The problem is that DecoderUtil.decodeEncodedWords() falsely identifies =?utf-8?Q?= as the encoded word which cannot be decoded.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.