Account for ASP.NET Core changes around proxy header handling#1525
Merged
Conversation
bart-vmware
reviewed
Jun 12, 2025
Member
bart-vmware
left a comment
There was a problem hiding this comment.
Thanks for diving into this. I haven't tested the changes, assuming you did.
Member
Author
Yes, but also because SteeltoeOSS/Samples#391 works with the same set of sample apps and I was hitting weird probably-environment issues during my first round of testing, I was already planning to leave this PR draft/open while wrapping up the other effort |
9f1e858 to
020bf64
Compare
80a4e65 to
e4ad593
Compare
bart-vmware
reviewed
Jun 16, 2025
bart-vmware
reviewed
Jun 16, 2025
bart-vmware
reviewed
Jun 16, 2025
e4ad593 to
9c0da20
Compare
bart-vmware
reviewed
Jun 19, 2025
6060fe5 to
4c090b6
Compare
- Move reverse proxy configuration to Common - When present, add networks for CF_INSTANCE IP vars to KnownNetworks - Parameter-less UseCertificateAuthorization now tries to retrieve ForwardedHeadersOptions from DI container before falling back on creating a new instance
- Move new ServiceCollectionExtension to Configuration.CloudFoundry - Use IConfigureOptions<ForwardedHeadersOptions> - add missing using on ServiceProviders, true in BuildServiceProvider - more consistent usage of EnvironmentVariableScope - remove CF_INSTANCE var parsing option
Co-authored-by: Bart Koelman <104792814+bart-vmware@users.noreply.github.com>
4c090b6 to
4ab97af
Compare
bart-vmware
reviewed
Jun 25, 2025
bart-vmware
reviewed
Jun 26, 2025
bart-vmware
reviewed
Jun 26, 2025
bart-vmware
reviewed
Jun 26, 2025
bart-vmware
reviewed
Jun 26, 2025
Co-authored-by: Bart Koelman <104792814+bart-vmware@users.noreply.github.com>
|
bart-vmware
approved these changes
Jun 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Provides a fix for #1524 that is automatically implemented when using the CloudFoundry configuration provider
Quality checklist
If your change affects other repositories, such as Documentation, Samples and/or MainSite, add linked PRs here.