mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-04-03 22:15:40 +00:00
- Introduced validation for SQLite journal modes in DBManager, defaulting to "WAL" for invalid inputs and logging warnings. - Added a new utility function in security_utils for validating SQL identifiers to prevent SQL injection. - Updated BotDataViewer to utilize the new journal mode validation and SQL identifier checks, ensuring safer database operations. - Enhanced test coverage for restore functionality, including checks for backup directory configuration and path traversal prevention.
12 KiB
12 KiB