Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Workaround
-
3.4.3
-
None
-
None
-
Unknown
Description
The JAXRS specification seems unclear regarding how the method
UriBuilder.queryParam(String name, Object… values)
treats values w/ URL encoding. However, we could legitimately assume this method properly URL encodes parameter values.
CXF implementation URL encodes values, but with some defects:
invoking
UriBuilder.fromUri("my/path").queryParam("p", "%250%").toTemplate()
produces the URI template
my/path?p=%250%25
instead of
my/path?p=%25250%25