Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle X-Forwarded-Prefix parsed by Reactor-Netty in ReactorServerHttpRequest #33638

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

chemicL
Copy link
Member

@chemicL chemicL commented Oct 3, 2024

Following the Spring-Boot team's request in reactor/reactor-netty#3432, reactor-netty starting from 1.1.23 will natively parse the X-Forwarded-Prefix header. This change allows to take advantage of the parsed prefix and lets the user skip utilising ForwardedHeaderTransformer.

@@ -50,6 +50,7 @@ dependencies {
api("io.micrometer:context-propagation:1.1.1")
api("io.mockk:mockk:1.13.4")
api("io.projectreactor.netty:reactor-netty5-http:2.0.0-M3")
api("io.projectreactor.netty:reactor-netty-http:1.1.23-SNAPSHOT")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once #33636 is resolved, this can be removed before merging.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 3, 2024
@rstoyanchev rstoyanchev self-assigned this Oct 3, 2024
@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 Oct 3, 2024
@rstoyanchev rstoyanchev added this to the 6.2.0-RC2 milestone Oct 3, 2024
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.

3 participants