HTTP Interface client handles query param with ":"

Closes gh-34364
This commit is contained in:
rstoyanchev
2025-02-11 11:08:00 +00:00
parent 9f55296049
commit d04883f839
2 changed files with 19 additions and 1 deletions

View File

@@ -493,7 +493,7 @@ public class HttpRequestValues {
UriComponentsBuilder uriComponentsBuilder = UriComponentsBuilder.fromUriString(uriTemplate);
for (Map.Entry<String, List<String>> entry : requestParams.entrySet()) {
String nameVar = entry.getKey();
String nameVar = entry.getKey().replace(":", "%3A"); // suppress treatment as regex
uriVars.put(nameVar, entry.getKey());
for (int j = 0; j < entry.getValue().size(); j++) {
String valueVar = nameVar + "[" + j + "]";