Hi,

I have a simple resource class

@Path("{id}")
public class TestResource {
    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public Response test(@PathParam("id") String id){
        final String result = String.format("Received PathParam: '%s'", id);
        System.out.println(result);
        return Response.ok().entity(result).build();
    }
}

When I do the GET request with path "/hello%3B" the response is:

HTTP/1.1 404 Not Found
Content-Type: text/xml
Allow: GET,OPTIONS,HEAD
Date: Sun, 13 Mar 2011 08:17:40 GMT
Content-Length: 0
Server: Jetty(6.1.26)

But what I expect from this request is that method test() is invoked with
"hello;" string as parameter.
So I think the problem is with encoded semi-colon %3B. Other encoded special
symbols seem to work as expected. 

Is such behavior a bug?

Environment:
CXF 2.3.3
JDK 6 update 24
Jetty 6.1.26 (via Maven plugin)


--
View this message in context: 
http://cxf.547215.n5.nabble.com/JAX-RS-3B-in-Path-Parameter-results-in-404-response-tp3556009p3556009.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to