Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 30DCFD80B for ; Sun, 16 Sep 2012 13:02:08 +0000 (UTC) Received: (qmail 26550 invoked by uid 500); 16 Sep 2012 13:02:08 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 26484 invoked by uid 500); 16 Sep 2012 13:02:08 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 26458 invoked by uid 99); 16 Sep 2012 13:02:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Sep 2012 13:02:07 +0000 Date: Mon, 17 Sep 2012 00:02:07 +1100 (NCT) From: "Aki Yoshida (JIRA)" To: issues@cxf.apache.org Message-ID: <1447418507.85331.1347800527617.JavaMail.jiratomcat@arcas> In-Reply-To: <2126840118.16491.1345070198069.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CXF-4476) Content-Disposition header may be incorrectly set in MTOM under windows 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/CXF-4476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aki Yoshida resolved CXF-4476. ------------------------------ Resolution: Fixed Fix Version/s: 2.7.0 2.6.3 2.5.6 2.4.10 > Content-Disposition header may be incorrectly set in MTOM under windows > ------------------------------------------------------------------------ > > Key: CXF-4476 > URL: https://issues.apache.org/jira/browse/CXF-4476 > Project: CXF > Issue Type: Bug > Components: Core > Affects Versions: 2.6.1 > Environment: windows > Reporter: Aki Yoshida > Assignee: Aki Yoshida > Priority: Minor > Fix For: 2.4.10, 2.5.6, 2.6.3, 2.7.0 > > > This problem can be seen in the following test case when it is executed under windows. > Failed tests: testMtomWithFileName(org.apache.cxf.systest.mtom.ClientMtomXopTest): can't get file name expected: but was: > The problem is the way how the file name is extracted in AttachmentUtils.createMtomAttachmentFromDH. Concretely, this method extracts the part of the data handler's URL string after the last File.separator, where this string is given as the standard URL syntax which does not contains the windows' File.separator. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira