Skip to content

Match exact PostHog ingestion origin for UI routing - #514

Merged
0thernet merged 1 commit into
mainfrom
fix/analytics-exact-ui-host
Oct 1, 2026
Merged

0thernet merged 1 commit into
mainfrom
fix/analytics-exact-ui-host

Conversation

@0thernet

@0thernet 0thernet commented Oct 1, 2026

Copy link
Copy Markdown
Member

Select the European PostHog UI origin only when the configured ingestion URL exactly equals https://eu.i.posthog.com. This removes the ambiguous substring match reported by CodeQL alert69; the production caller already validates the complete ingestion URL, and both selected UI origins remain fixed trusted values.

Validation: frozen install; bun test website/analytics.test.ts20passed/835assertions, including EU/US routing and adversarial host/path/query substrings. Complete Required CI remains the integration gate.

@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ghostget Ready Ready Preview Oct 1, 2026 5:25am UTC

Request Review

@0thernet
0thernet enabled auto-merge (squash) October 1, 2026 05:27
@0thernet
0thernet merged commit 12d1f6c into main Oct 1, 2026
27 checks passed
@0thernet
0thernet deleted the fix/analytics-exact-ui-host branch October 1, 2026 05:35
0thernet added a commit that referenced this pull request Oct 1, 2026
Prepare GhostGet 0.18.66 so production includes the exact PostHog
ingestion-origin match from #514. Synchronize runtime, generated
package, installation references and reviewed website release identity.

Independent review passed. Focused analytics/contracts/media checks: 65
tests, 3511 assertions. Two Node 24.20.0/npm 11.19.0 packs are
byte-identical: 625 entries, 12,143,254 packed bytes and 24,055,132
payload bytes. Existing package platform projections and allowances are
unchanged. Complete Required CI, exact main CI, immutable release and
production verification remain delivery gates.

This branch was successfully deployed

1 active deployment
Preview — 16415a77 Deployed Oct 1, 2026 by vercel[bot]
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.

1 participant