-
Bug
-
Resolution: Done
-
Major
-
2.0.GA, 2.0.1.GA
-
None
Replacing a query parameter in a query string that contains empty parameters (i.e. a parameter without value) will cause an ArrayIndexOutOfBoundsException.
UriBuilderImpl.fromUri("?param=").replaceQueryParam("otherParam", "otherValue");
Result:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at org.jboss.resteasy.specimpl.UriBuilderImpl.replaceQueryParam(UriBuilderImpl.java:685)
at TestUriBuilder.main(TestUriBuilder.java:8)