Closed
Description
Dave Syer opened SPR-14270 and commented
The ServletUriComponentsBuilder supports X-Forwarded-Prefix as a way to add a context path to the forwarded host and port. The new filter could adopt the same convention.
Affects: 4.3 RC2
Issue Links:
- Add support for x-forwarded- HttpServletRequest wrapping [SPR-13614] #18192 Add support for x-forwarded- HttpServletRequest wrapping
- Support for X-Forwarded-Prefix in ServletUriComponentsBuilder [SPR-12500] #17105 Support for X-Forwarded-Prefix in ServletUriComponentsBuilder
- ServletUriComponentsBuilder should replace context path when X-Forwarded-Prefix is present [SPR-16650] #21191 ServletUriComponentsBuilder should replace context path when X-Forwarded-Prefix is present
- ForwardedHeaderFilter should support cases where contextPath should not be replaced with X-Forwarded-Prefix [SPR-14376] #18949 ForwardedHeaderFilter should support cases where contextPath should not be replaced with X-Forwarded-Prefix
0 votes, 5 watchers