You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2011/07/11 10:08:59 UTC
[jira] [Resolved] (CXF-3650) jax-rs basic example doesn't work when
there's a space in file path url
[ https://issues.apache.org/jira/browse/CXF-3650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved CXF-3650.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.5
2.4.2
2.3.6
commit fix
http://svn.apache.org/viewvc?rev=1145049&view=rev for trunk
http://svn.apache.org/viewvc?rev=1145052&view=rev for 2.4.x branch
http://svn.apache.org/viewvc?rev=1145055&view=rev for 2.3.x branch
> jax-rs basic example doesn't work when there's a space in file path url
> -----------------------------------------------------------------------
>
> Key: CXF-3650
> URL: https://issues.apache.org/jira/browse/CXF-3650
> Project: CXF
> Issue Type: Bug
> Environment: Mac
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: 2.3.6, 2.4.2, 2.5
>
>
> If the path url has space like
> /Users/ffang/apache-cxf-2.4.1/samples/jax_rs/my basic/
> then the resolved file url is
> /Users/ffang/apache-cxf-2.4.1/samples/jax_rs/my%20basic/target/classes/demo/jaxrs/client/update_customer.xml
> here %20 represent space, it's ok on windows platform but not ok on mac, on mac we need replaceAll("%20", " ");
> we should use org.apache.cxf.resource.URIResolver to resolve the file url here which both works on windows and *nix.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira