Allow bypassing of x-forwarded header removal#2728
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 |
MihaZupan
left a comment
There was a problem hiding this comment.
Thanks.
Mind adding a few tests for these?
|
Minor pain point is that targeting the alpha SDK does add some friction to contributing |
|
Thank you. Did you run into SDK issues even after running |
|
I was not aware of that. Running Someone should put that in the Readme, maybe somewhere near the top in a Build section or something. Wait a minute... Narrator: The Readme already tells you exactly how to do this. |
Addresses #2727