Response.temporaryRedirect() cannot handle query parameter correctly --------------------------------------------------------------------
Key: CXF-3024 URL: https://issues.apache.org/jira/browse/CXF-3024 Project: CXF Issue Type: Bug Components: JAX-RS Affects Versions: 2.2.10 Reporter: Andreas Sahlbach Consider the following code that wants to redirect to a non-absolute URL containing query parameters: {code:java} String cssLink1="http://yui.yahooapis.com/3.2.0/build/cssreset/reset-min.css" return Response.temporaryRedirect(UriBuilder.fromPath("whatever/redirection").queryParam("css1",cssLink1).build()).build(); {code} The created Location header of the response will contain the following value: {{http://myserver/app/services/public/whatever/redirection%3Fcss1=http:/yui.yahooapis.com/3.2.0/build/cssreset/reset-min.css}} IMHO this should be: {{http://myserver/app/services/public/whatever/redirection?css1=http:/yui.yahooapis.com/3.2.0/build/cssreset/reset-min.css}} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.