Skip to content

fix(security): normalize trailing-dot custom status domains - #778

Merged
fclairamb merged 5 commits into
mainfrom
security/scan-specs-2026-11-06
Nov 6, 2026
Merged

fclairamb merged 5 commits into
mainfrom
security/scan-specs-2026-11-06

Conversation

@fclairamb

@fclairamb fclairamb commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Specs from the daily security scan (AF1, scan of 2026-11-06, Low), now implemented.

What changed

  • A Host header with a trailing dot (status.acme.com.) now routes like the dot-less host: a verified custom status domain serves its status page, and dashboard, /docs and denied API paths no longer leak through under the customer's hostname. Reserved instance hosts and the docs host also match with a trailing dot.

Decided by autopilot

  • No open questions in the spec; nothing to decide.

🤖 Generated with Claude Code

fclairamb and others added 4 commits November 6, 2026 07:26
A Host such as status.acme.com. missed the stored (dot-less) custom
domain and fell through to the instance's own routing, serving the
dashboard under the customer's status hostname. hostOnly now strips one
FQDN trailing dot, so the reserved check, cache key, DB lookup and the
unavailable page all use the canonical name. docsHostMatches does the
same for the docs host.

Spec: specs/todos/2026-11-06-01-custom-domain-trailing-dot-host.md

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.21%. Comparing base (565d698) to head (6e2242e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #778      +/-   ##
==========================================
- Coverage   89.23%   89.21%   -0.02%     
==========================================
  Files        1320     1320              
  Lines      135152   135152              
==========================================
- Hits       120598   120580      -18     
- Misses      14545    14563      +18     
  Partials        9        9              
Files with missing lines Coverage Δ
server/internal/app/custom_domain_routing.go 94.01% <100.00%> (ø)
server/internal/app/server.go 92.09% <100.00%> (ø)

... and 20 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fclairamb
fclairamb merged commit 8b2a7ca into main Nov 6, 2026
34 checks passed
@fclairamb
fclairamb deleted the security/scan-specs-2026-11-06 branch November 6, 2026 08:33
@fclairamb fclairamb mentioned this pull request Nov 6, 2026
fclairamb added a commit that referenced this pull request Nov 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.44.1](v0.44.0...v0.44.1)
(2026-11-07)


### Bug Fixes

* **dash0:** keep valid sessions when a token refresh fails transiently
([#782](#782))
([8e77846](8e77846))
* **deps:** update module github.com/crewjam/saml to v0.5.2
([#786](#786))
([9d370fe](9d370fe))
* **deps:** update module github.com/posthog/posthog-go to v1.40.1
([#775](#775))
([37ada84](37ada84))
* **deps:** update module github.com/posthog/posthog-go to v1.41.1
([#785](#785))
([8684c71](8684c71))
* **docs:** plain markdown for the API reference .md pages
([#784](#784))
([3270ac6](3270ac6))
* **security:** normalize trailing-dot custom status domains
([#778](#778))
([8b2a7ca](8b2a7ca))
* **slack:** resolve check and incident link unfurls
([#779](#779))
([930f18e](930f18e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant