2 Commits
Author SHA1 Message Date
hoelee 5a7e67d0b8 fix(http): count redirects, not requests, against the chain limit
A chain of five redirects is six requests. The check failed it while net-guard
had just followed it to the end, so the tool blamed the visitor for something it
had already done. The budget now counts redirects, and an abandoned chain that
ends on a 3xx counts the redirect it was in the middle of. 99 tests.
2026-11-10 13:03:46 +08:00
hoelee bc29f2a963 fix: IPv4-first dialling, and a mail-less subdomain is not a broken domain
Two false results found by running the real checks, not by reading the code:
example.com reported its certificate as skipped because dns.lookup returned the
AAAA answer first and the local IPv6 route stalls; tools.hoelee.com reported
'Broken' email because a website-only subdomain publishes no MX, SPF or DMARC,
which is normal. resolvePublic now sorts IPv4 first, and applyHostRole points
such a host at its registrable apex (keeping .com.my intact).

96 tests green.
2026-11-10 13:00:52 +08:00