-
Notifications
You must be signed in to change notification settings - Fork 868
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
Allow bypassing of x-forwarded header removal #2728
base: main
Are you sure you want to change the base?
Conversation
Looks like AddXForwarded similarly removes the Forwarded headers and needs similar treatment. |
Haha, I did some digging and found this: #1070 (comment) |
I agree that having the extra argument be The annoying part is that the current logic doesn't always remove the other header. yarp/src/ReverseProxy/Transforms/ForwardedTransformExtensions.cs Lines 188 to 201 in 41e563c
I'm not actually sure why someone would want to add a no-op |
I can swap the parameter naming. I'm not sure what the best way to handle |
Addresses #2727