Commit Graph
2 Commits
Author SHA1 Message Date
Kenneth Skovhede d00166f791 Attempt to fix test issues on Windows 2026-06-12 19:40:32 +02:00
Kenneth Skovhede 8cb1c9562e Block path traversal in recovery tool
This adds a check that prevents restoring files outside the specified target folder when using the recovery tool.

When choosing to restore to a specific folder, the expectation is that files are not restored outside the folder, which could happen with symlinks or manually crafted entries. This blocks it the same way the regular restore does and also supports `--allow-restore-outside-target-directory` to disable the check.
2026-06-08 19:17:07 +02:00