Files
ProgrammerIn-wonderlandandClaude Opus 5.5 2f35dadb28 fix(hosting): choose the site and subdomain from Host, not X-Forwarded-Host
With trust proxy on, express derives req.hostname and req.subdomains from
X-Forwarded-Host, which any client can send, while host validation reads the
raw Host. A request could serve one hosted site's files on the main domain,
or reach the API on a hosting host. The header is now dropped before routing.

Fixes PUT-2272

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:03 -05:00
..
…
2026-11-02 13:27:01 -07:00