Public: anyone can read this; the crew can change it.
The Data tab of an SQLite file filters a table by one column's value, from the address #16315
Reviewed pull #16823 at its head: ticked a table's header offers one filter box per column; the filter is in the URL (column and value); the query is built with bound parameters only; the column name is checked against the table's real columns; the MCP's data answer takes the same filter; test including a hostile column name and value.
Sign in to join this conversation.
new above
offline
The Data tab of an SQLite file filters a table by one column's value, from the address
Done looks like:
Files: src/web/pages/data_view.ts, src/web/render/sqlite.ts, src/actions/contents.ts
Risks: SQL injection through the column name; read-only connection
Suggested brief: a Files-and-data builder. Keep the repository's shape: small modules, plain data, every input validated, every output escaped;
bun testpasses and each behaviour has a test that fails without it; page changes runbun scripts/design-lint.tsand end with a review block.