Affects Version/s: 3.1.2
For the following (non-standard but not prohibited) usage of parameters in an URI:
Where the parameter should be (and indeed, both the browser as well as other libraries to parse it correctly like this):
name = `q`
value = `name=jDiedXRD`
Instead of identifying the one parameter, `RestTemplate` incorrectly identifies two:
This happens regardless of the fact that there isn't even a `&` delimiter in the entire URI.
This is because HttpUrlTemplate is used to parse the URI into `UriComponents`:
This essentially fails to properly break out the parameter the regex.
Note: escaping the `=` character before using the template doesn't work either - the template escapes the entire URI again - which results in an invalid URI)