mirror of
https://github.com/dotnet/skills.git
synced 2026-09-20 09:49:54 +08:00
a0f77070f5
- Skip HTTP-not-HTTPS inside fenced code blocks (code examples use http:// listen addresses). EXTERNAL-DOMAIN checks still run inside fences since agents see raw text, not rendered markdown. - CommonMark-compliant fence tracking (type, length, closing-only whitespace, max 3-space indent). - Skip placeholder/template URLs by checking the host portion only (not the full URL) to prevent bypass via path components. - Case-insensitive placeholder matching. - Generalize path-scoped domain matching to all domains (not just github.com), enabling entries like npmjs.com/package/@org. - Treat wildcard listen addresses (http://+:port, http://*:port) as local URLs. - Add xunit.net to known-domains.txt. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>