cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-3650) jax-rs basic example doesn't work when there's a space in file path url
Date Mon, 11 Jul 2011 08:08:59 GMT

     [ 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

        

Mime
View raw message