Rossen Stoyanchev opened SPR-16813 and commented
While making changes for #21209 I noticed that ServerWebExchangeArgumentResolver prepares a UriComponentsBuilder based on the full URI including full path and query params where it should be relative to the root of the web application, i.e. using scheme, host, and port only.
By comparison on the Spring MVC side ServletUriComponentsBuilder.fromServletMapping(request) is used.
Affects: 5.0.6
Issue Links:
Referenced from: commits fd36af6, 7f954eb
Rossen Stoyanchev opened SPR-16813 and commented
While making changes for #21209 I noticed that ServerWebExchangeArgumentResolver prepares a UriComponentsBuilder based on the full URI including full path and query params where it should be relative to the root of the web application, i.e. using scheme, host, and port only.
By comparison on the Spring MVC side
ServletUriComponentsBuilder.fromServletMapping(request)is used.Affects: 5.0.6
Issue Links:
Referenced from: commits fd36af6, 7f954eb