Support Forwarded header "by" parameter in ForwardedHeaderFilter #34654
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Spring doesn't parse the "by" parameter of the Forwarded header in ForwardedHeaderFilter.
According to RFC 7239:
I think it should override
getLocalAddr
/getLocalPort
of theHttpServletRequest
: https://jakarta.ee/specifications/servlet/6.0/apidocs/jakarta.servlet/jakarta/servlet/servletrequest#getLocalAddr()The syntax of a "by" value is the same of the "for" parameter.
Support for the "for" parameter has been added as requested in #23260
The text was updated successfully, but these errors were encountered: