You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Aki Yoshida (JIRA)" <ji...@apache.org> on 2012/09/16 15:02:07 UTC
[jira] [Resolved] (CXF-4476) Content-Disposition header may be
incorrectly set in MTOM under windows
[ 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:<return detail + []me.bmp> but was:<return detail + [/C:/repos/cxf/trunk/systests/uncategorized/target/test-classes/]me.bmp>
> 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