mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-09-23 02:53:31 +00:00
fa3aee6561
- Sanitize field-filter keys from query params before interpolating into JSON path expressions — prevents SQL injection via crafted query parameter names (affects both SQLite and PostgreSQL) - Fix document search ORDER BY rank on PostgreSQL — the PG query path doesn't expose a `rank` column; use ts_rank() with DESC - Fix item search rank ordering in ListItems and SearchItems for PostgreSQL — ts_rank() needs DESC (higher = more relevant)