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

An app.looks path with a backslash never sends the page fetch to another host #14957

shipped production is serving it opened this has it

Landed in pull #14981 · run

opened this

Intent: close one deepsec finding from #14774 in one run (the finding's detail is there).

Done when

Files: src/release/webspec.ts, test/

Risks: None beyond the path rule.

Brief: a security builder (a Sonnet-sized change, one file area).

commented

Reviewed pull #14981 at its head: ticked looks paths are refused unless they start with a single / and contain no \\ or control characters; the fetch URL is built and checked to keep the app's origin; a test with /\\evil.example is refused; it fails on today's main; bun test passes.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs