Closed
Description
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:
- Centralize handling of "Forwarded" headers to ForwardedHeaderFilter [SPR-16668] #21209 Centralize handling of "Forwarded" headers to ForwardedHeaderFilter