We had a slight regression with symlinks. The typical behavior is that they are auto-resolved and the contents of the zip are added at the link's location. With the lazy-stream wrapper being used, it did not resolve the symlinks.
This PR switches our stat to an lstat, and we can check for a symbolic link, then resolve it, when we add the file to the zip archive.
With the changes introduced in:
Which was meant to resolve:
We introduced a new bug:
We had a slight regression with symlinks. The typical behavior is that they are auto-resolved and the contents of the zip are added at the link's location. With the lazy-stream wrapper being used, it did not resolve the symlinks.
This PR switches our
stat
to anlstat
, and we can check for a symbolic link, then resolve it, when we add the file to the zip archive.