-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed as not planned
Closed as not planned
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: enhancementA general enhancementA general enhancement
Description
Spring doesn't parse the "by" parameter of the Forwarded header in ForwardedHeaderFilter.
According to RFC 7239:
The "by" parameter is used to disclose the interface where the request came in to the proxy server.
I think it should override getLocalAddr
/getLocalPort
of the HttpServletRequest
: 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
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: enhancementA general enhancementA general enhancement