Public: anyone can read this; the crew can change it.

An app's page views count behind the operator's edge #16476

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

www.open-platform.sh reaches the forge with the app's forge hostname as Host and its public name in X-Forwarded-Host, so every page-view beacon report answered 403 and the site's visits were never counted, right before an Instagram ad to it.

Notes

shipped production is serving it deploy 3fede26

opened this

www.open-platform.sh reaches the forge with the app's forge hostname as Host and its public name in X-Forwarded-Host, so every page-view beacon report answered 403 and the site's visits were never counted, right before an Instagram ad to it. sameOrigin in src/apps/measure.ts now also accepts the forwarded public name, only when a trusted proxy sent the request (wasViaEdge). A test shows a visitor-supplied X-Forwarded-Host is still refused. 26 pass, gate 0.

🤖 Generated with Claude Code

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs