Open The-East-Wind opened 5 days ago
I have a resource like:
@GET @Path("/foobar") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) public Response get(@QueryParam("x") String x, @QueryParam("y") String y, @QueryParam("z") String z) { }
If I call this resource with /foobar?x=a%26y=b%26z=c then x get assigned with the value a%26y=b%26z=c and y and z are set to null.
/foobar?x=a%26y=b%26z=c
x
a%26y=b%26z=c
y
z
null
Servlet container: Tomcat 9 Jersey Version: 2.19 Java Version: 1.8
Issue
I have a resource like:
If I call this resource with
/foobar?x=a%26y=b%26z=c
thenx
get assigned with the valuea%26y=b%26z=c
andy
andz
are set tonull
.Servlet container: Tomcat 9 Jersey Version: 2.19 Java Version: 1.8