-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Closed
Copy link
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
Jiri Mikulasek opened SPR-13145 and commented
In #17627 some baseUrl - prepending mechanism was introduced in DefaultUriTemplateHandler. When verifying that I unfortunately missed the situation when restTemplate called with URL without some variables and it seems in that situation the UriTemplateHandler is not invoked at all, which results to inconsistent behaviour.
Please make it consistent - either move the baseUrl prefixing mechanism somewehere else (which is invoked for every request) or invoke the UriTemplateHandler for each request.
Sorry for not realizing this problem at the beginning.
Affects: 4.2 RC1
Issue Links:
- Ability to prefix each RestTemplate request using some kind of UriPrefixingClientHttpRequestFactory [SPR-13035] #17627 Ability to prefix each RestTemplate request using some kind of UriPrefixingClientHttpRequestFactory
Metadata
Metadata
Assignees
Labels
status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply