Skip to content

Add test case for two leading dots#67266

Merged
cincuranet merged 5 commits into
mainfrom
cincuranet-patch-1
Jun 23, 2026
Merged

Add test case for two leading dots#67266
cincuranet merged 5 commits into
mainfrom
cincuranet-patch-1

Conversation

@cincuranet

@cincuranet cincuranet commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Related to #66582 and #67265.

@cincuranet
cincuranet marked this pull request as ready for review June 23, 2026 12:15
Copilot AI review requested due to automatic review settings June 23, 2026 12:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds regression coverage in HostFiltering middleware tests for a hostname with two leading dots, ensuring wildcard host patterns (e.g., *.example.com) do not inadvertently match malformed/edge-case host values (related to #66582).

Changes:

  • Add a new mismatched-host test case for ..example.com:443 against the allowed host pattern *.example.com.

@cincuranet

Copy link
Copy Markdown
Contributor Author

/ba-g Failures are unrelated.

@cincuranet
cincuranet merged commit 9b1fd5f into main Jun 23, 2026
24 of 26 checks passed
@cincuranet
cincuranet deleted the cincuranet-patch-1 branch June 23, 2026 17:39
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview6 milestone Jun 24, 2026
@cincuranet cincuranet self-assigned this Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants