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


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

        

Reply via email to