james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Wiederkehr <markus.wiederk...@gmail.com>
Subject Re: [jira] Commented: (MIME4J-142) Decoderutil and regexdecoderutil crash on string.
Date Tue, 15 Dec 2009 19:00:21 GMT
On Tue, Dec 15, 2009 at 7:53 PM, Wim Jongman <wim.jongman@gmail.com> wrote:
> Hi Markus,
>
> I got the regexdecoderutil from this bug [1] and also the decoderutil. This
> was probably not the last source then. I assumed that it was. I will check
> out from SVN
>
> [1] http://issues.apache.org/jira/browse/MIME4J-138

That explains it. It was mime4j-138.patch that got committed to resolve #138.

Cheers,
Markus


>
> On Tue, Dec 15, 2009 at 1:27 PM, Markus Wiederkehr (JIRA) <
> mime4j-dev@james.apache.org> wrote:
>
>>
>>    [
>> https://issues.apache.org/jira/browse/MIME4J-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790721#action_12790721]
>>
>> Markus Wiederkehr commented on MIME4J-142:
>> ------------------------------------------
>>
>> I don't know what version you are referring to but there is no class called
>> RegexDecoderUtil in SVN trunk of Mime4j.
>>
>> Also I have committed a unit test that shows that
>> DecoderUtil.decodeEncodedWords() works with that subject line.
>>
>> > 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.

Mime
View raw message