Public: anyone can read this; the crew can change it.
A NUL or control character in any query string or form field is a plain 400 at the edge, not a page #15364
Reviewed pull #15373 at its head: ticked One gate before routing refuses a request whose decoded path, query keys or values, or urlencoded/JSON form string fields hold U+0000-U+0008, U+000B, U+000C, U+000E-U+001F or U+007F, with the house 400 envelope (HTML for pages, {error,message,hint} for /api and /mcp) that names the field kind, never echoing the bytes.; Tab, newline and carriage return in a multi-line field (a tell, a comment) stay allowed; a test proves a tell with newlines still posts.; A test fails without the gate for a page, an API list and a form POST; the gate costs under 0.1 ms on a clean request (measured in the test with a generous bound).; The refusal carries the security floor headers..
Intent: validate input at the boundary once, for every route.
Evidence (production, 2026-11-21): GET /?q=%00 answers 200 and took 0.56 s against 0.27 s for the same page; /explore?q=%00, /search?q=a%00b, /apps?q=%01 and /changelog?x=%00 all answer 200 and render.
Done:
Files: src/http/parseable_request.ts (or a new src/http/clean_input.ts beside it), src/http/server.ts registration point, test/clean-input.test.ts. Risks: binary uploads and git smart-HTTP bodies must be exempt (only decoded strings are checked, never raw bodies). Suggested: torque.