mirror of
https://github.com/morluto/rea
synced 2026-10-28 06:46:47 -04:00
0e5c511c01
* fix(electron): follow absolute symlinks that stay inside the framework An absolute symlink target is now passed to relativeInside(root, target), and a null result still ends the walk as an escape. When the target lies inside the root, resolved is cleared and the root-relative pieces are queued on pending, which replaces the path walked so far with that absolute target. Later hops stay under the hop limit and the existing lstat containment checks. Provider tests now cover an absolute Versions/Current that stays on in-framework version B and matches the relative bundle's resolved path and SHA-256, an absolute Current outside the framework, and an absolute in-framework link whose next hop leaves the framework; those last two still surface an escape error. Fixes #3380 * test(electron): cover absolute framework symlink cycles --------- Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>