Hi

Sorry for the delay - going to look at your issue next,

On Mon, Mar 14, 2011 at 8:44 AM, antalus <[email protected]> wrote:

> 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?
>
>
I'll write a test and get back to you asap.

Thanks, Sergey


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

Reply via email to