mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-24 09:57:08 -06:00
Row 16 (9f6a3c79): preserve platform filename semantics in corpus scans (no backslash-to-separator rewrite on Unix) and enforce destination containment before copying files into the corpus directory. Row 20 (6e2a985b): skip directory symlinks, dedupe visited directories by canonical identity, and cap total directories/files so symlink cycles can no longer drive exponential traversal. Fixes findings 9f6a3c79-8bdf-4751-8eb4-87d3154074c9 and 6e2a985b-6b14-4b97-af07-7ca8333b9b75.