You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(db): sanitize inputs and improve compression for export cmds
Introduces shell escaping for database credentials (password, user, dbname) to prevent command injection and handle special characters correctly. Also updates the export logic to prioritize `zstd` for compression if available, falling back to `gzip`, and adds `pipefail` to ensure pipeline errors are propagated. Additionally, support for CouchDB has been added to the command builder.
- Implement `shellEscape` function to safely quote strings.
- Apply escaping to PostgreSQL and MySQL/MariaDB authentication arguments.
- Add CouchDB export logic (Docker and native).
- Update compression pipeline to auto-detect `zstd` vs `gzip`.
- Improve error handling and logging in connection testing logic.