Decoderutil and regexdecoderutil crash on string.
-------------------------------------------------

                 Key: MIME4J-142
                 URL: https://issues.apache.org/jira/browse/MIME4J-142
             Project: JAMES Mime4j
          Issue Type: Bug
         Environment: java 5, win7
            Reporter: Wim


Decoderutil & regexdecoderutil crashes on this subject line:

=?utf-8?Q?variable=20${target.nl}?=


RegexDecoderUtil.decodeEncodedWords("=?utf-8?Q?variable=20${target.nl}?=");

Illegal group reference
        at java.util.regex.Matcher.appendReplacement(Unknown Source)
        at 
org.apache.james.mime4j.codec.DecoderUtil.decodeEncodedWords(DecoderUtil.java:160)

and

java.lang.IllegalArgumentException: Illegal group reference
        at java.util.regex.Matcher.appendReplacement(Unknown Source)
        at 
org.apache.james.mime4j.codec.RegexDecoderUtil.decodeEncodedWords(RegexDecoderUtil.java:36)
        at 
org.eclipse.ecf.salvo.ui.internal.editor.ArticlePaneLabelProvider.getColumnText(ArticlePaneLabelProvider.java:72)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to