Return-Path: Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: (qmail 63126 invoked from network); 15 Dec 2010 20:42:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Dec 2010 20:42:23 -0000 Received: (qmail 13385 invoked by uid 500); 15 Dec 2010 20:42:23 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 13361 invoked by uid 500); 15 Dec 2010 20:42:22 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Received: (qmail 13353 invoked by uid 99); 15 Dec 2010 20:42:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 20:42:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 20:42:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBFKg1c7021168 for ; Wed, 15 Dec 2010 20:42:01 GMT Message-ID: <22094612.144871292445721899.JavaMail.jira@thor> Date: Wed, 15 Dec 2010 15:42:01 -0500 (EST) From: "Markus Wiederkehr (JIRA)" To: mime4j-dev@james.apache.org Subject: [jira] Commented: (MIME4J-182) DecoderUtil.decodeEncodedWords() fails when the encoded word starts with a hex sequence In-Reply-To: <26801694.138011292431442001.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MIME4J-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971826#action_12971826 ] Markus Wiederkehr commented on MIME4J-182: ------------------------------------------ Just for the sake of completeness, this was fixed in MIME4J-138. +1 for a 0.6.1 release. > DecoderUtil.decodeEncodedWords() fails when the encoded word starts with a hex sequence > --------------------------------------------------------------------------------------- > > Key: MIME4J-182 > URL: https://issues.apache.org/jira/browse/MIME4J-182 > Project: JAMES Mime4j > Issue Type: Bug > Components: parser (core) > Affects Versions: 0.6 > Reporter: Niklas Therning > Priority: Critical > > The perfectly legal encoded word =?ISO-8859-1?Q?=41?= should be decoded to A but in 0.6 the input is returned as if the input wasn't ok. I've backported the DecoderUtil.decodeEncodedWords() method from 0.7 and it seems to work as expected. I'd say that a 0.6.1 should be released quite soon with a fix for this issue since it's very likely to affect users. I could check in the test case and the backported code. Should I create a bug fix branch for 0.6 then? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.