I get this message when I have two encodes /s in the path %2F%2F
WARNING: .No root resource matching request path
/service/v1/device/70%2F%2F70%5C70.v1.0 is found.
However:
/service/v1/device/70%2F70%5C70.v1.0
works fine.
I'm using cxf 2.2.3
I have
org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
org.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true
set.
My annotations are:
@Path("/v1/device")
public class Device extends com.netflix.customer.eds.Device {
@GET
@Path("/{esn}")
@Consumes("application/xml")
@Produces("application/xml")
/* for error cases only */
@Transactional(rollbackFor = {Throwable.class})
public Response get(@Context HttpServletRequest request,
@PathParam("esn") String esn,
@MatrixParam("optionId") Long optionId)
I gt the same response weather or not I include the matrix parameter.
Am I missing something?
--
View this message in context:
http://cxf.547215.n5.nabble.com/WARNING-No-root-resource-matching-request-path-service-v1-device-70-2F-2F70-5C70-v1-0-is-found-tp3414401p3414401.html
Sent from the cxf-dev mailing list archive at Nabble.com.