feat(Validators): add server ID validation function to prevent path traversal and unsafe characters; update routes to utilize new validation logic
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 1m55s

This commit is contained in:
denozord committed 2026-02-22 23:28:19 +07:00
1 parent c3fba50de8
commit 353d14d64e
6 files changed
+54 -17

No files matched your search

+1 -1
View File
@@ -298,7 +298,7 @@ async function runBackupNow(req, res) {
comment: 'Manual backup from UI (/api/mikrotik/backups/run)',
});
return sendOk(res, {
return res.json({
ok: true,
key,
serverId,