fix(mcp): honour the proxy's forwarded scheme and host #15
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TJC/mealplan-mcp!15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/forwarded-headers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
X-Forwarded-Proto/X-Forwarded-Hostso the app knows it is served over https on its public hostname, not plain http on an internal onehttp://UseForwardedHeadersruns first so everything downstream sees the corrected valuesTest plan
dotnet buildclean;TreatWarningsAsErrorscaughtKnownNetworksas deprecated, nowKnownIPNetworksdotnet testgreen: 77 unit, 45 integrationWebApplicationFactory, and adding that tier for one middleware check was not worth ithttps://