mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-09 18:28:15 +01:00
inside_dir checked containment after mkdir -p, so a destination under a planted symlink (escape/new/sub) created the outside directories before being refused. The nearest existing ancestor is checked first; only an accepted destination is created, and it is checked again after. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>