-
Bug
-
Resolution: Done
-
Major
-
2.2.2.GA
-
None
-
None
Method UriBuilder.build throws an IllegalArgumentException when a value for a template parameter in the URI path contains a dollar mark:
UriBuilder.fromPath("/{p}").build("$a");
The reason is that UriBuilderImpl.java does not apply proper quoting on line 463
matcher.appendReplacement(buffer, value);
which can be fixed like this
matcher.appendReplacement(buffer, Matcher.quoteReplacement(value));