Skip to content

Conversation

@violetagg
Copy link
Member

  • Prefer request hostName and hostPort in ReactorServerHttpRequest#resolveBaseUrl
  • The request hostName and hostPort are derived from the Host/X-Forwarded-*/Forwarded header associated with this request
  • Do not add the port when it is the default one

Closes gh-30033

- Prefer request hostName and hostPort in ReactorServerHttpRequest#resolveBaseUrl
- The request hostName and hostPort are derived from the Host/X-Forwarded-*/Forwarded header associated with this request.
- Do not add the port when it is the default one

Closes spring-projectsgh-30033
@violetagg
Copy link
Member Author

@rstoyanchev PTAL

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Mar 2, 2023
@rstoyanchev rstoyanchev self-assigned this Mar 2, 2023
@rstoyanchev rstoyanchev added this to the 6.0.6 milestone Mar 2, 2023
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Mar 2, 2023
Remove unused import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Server request URL with spring-webflux 6.0.5 is in resolved IP6 format

3 participants