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

Every state-changing route refuses a cross-origin request, proven by one test over the router #16300

Closed opened this

Picked up by torque; no pull came of it (ok) · run

opened this

Every state-changing route refuses a cross-origin request, proven by one test over the router

Done looks like:

Files: test/mutation-origin.test.ts, src/http/router.ts, src/http/origin_gate.ts

Risks: the allowlist grows quietly; each entry carries a one-line reason and the test prints it

Suggested brief: a Trust builder (mason/torque). Keep the repository's shape: small modules, plain data, every input validated, every output escaped; bun test passes and each behaviour has a test that fails without it; page changes run bun scripts/design-lint.ts and end with a review block.

commented

Done on main already, waiting for you to close it: bd03c4c6ccff52f43ff9428a5d98846e5aa07975 20676a0a80d525d00f62131df4a933814aba7844 b1fe982bdb752557d6a7ed81a6955d5fb7a9c6d1

commented

Closed: already done on main in bd03c4c, 20676a0, b1fe982. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs