Repository navigation
Update HostFilteringOptions.AllowedHosts doc - #70441
Merged
DeagleGross merged 1 commit intoNov 11, 2026
Merged
DeagleGross merged 1 commit into
DeagleGross merged 1 commit into
Conversation
DeagleGross
enabled auto-merge (squash)
November 10, 2026 18:18
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues for the documentation-only clarification of allowed-host wildcard behavior.
No open issues 🎉
What changed in this PR
Clarifies the documented behavior of HostFilteringOptions.AllowedHosts without changing runtime behavior.
Changes:
- Documents that the IPv4 literal
0.0.0.0and IPv6 literal[::]are treated like*, allowing all non-empty hosts.
| File | Description |
|---|---|
src/Middleware/HostFiltering/src/HostFilteringOptions.cs |
Expands the AllowedHosts XML remarks to explain wildcard-equivalent address literals. |
Review effort: Balanced
BrennanConroy
approved these changes
Nov 10, 2026
Youssef1313
approved these changes
Nov 10, 2026
Member
Author
|
/ba-g unrelated failue |
DeagleGross
disabled auto-merge
November 11, 2026 10:03
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 11, 2026 10:04 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 11, 2026 10:04 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 11, 2026 10:05 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 11, 2026 10:07 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 11, 2026 10:08 — with
GitHub Actions
Inactive
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 11, 2026 10:09 — with
GitHub Actions
Inactive
Contributor
|
✅ No documentation PR was created. Confidence that documentation is needed: 10% No docs needed: comment-only change to the AllowedHosts XML doc in HostFilteringOptions.cs. The API reference is generated from that comment. Documentation surfaces considered
|
DeagleGross
temporarily deployed
to
copilot-pat-pool
November 11, 2026 10:09 — with
GitHub Actions
Inactive
This was referenced Nov 13, 2026
This branch was previously deployed
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.
A minor update on AllowedHosts behavior