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

shipped production is serving it opened this has it

Landed in pull #16823 · run

opened this

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 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

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.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs