[issue37921] Improve zipfile: add support for symlinks

2021-09-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Adding support of symlinks in ZIP files will make the zipfile module vulnerable to symlink attacks like like with TAR files (see https://en.wikipedia.org/wiki/Tar_(computing)#Duplicates). Until we find a solution to this, adding support of symlinks is

[issue37921] Improve zipfile: add support for symlinks

2020-02-18 Thread Henning von Bargen
Henning von Bargen added the comment: If I understand correctly, this bug is about supporting symlinks on *creating* ZIP files. Please see also https://bugs.python.org/issue27318 for a proposal to support symlinks while *unpacking* ZIP files. Maybe a preserve_symlinks optional argument

[issue37921] Improve zipfile: add support for symlinks

2019-09-21 Thread Pierre-Jean Grenier
Pierre-Jean Grenier added the comment: The PR went through review and has been awaiting core review for almost a month, anyone to have a look at it? :) -- ___ Python tracker

[issue37921] Improve zipfile: add support for symlinks

2019-08-22 Thread Pierre-Jean Grenier
Change by Pierre-Jean Grenier : -- keywords: +patch pull_requests: +15108 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15401 ___ Python tracker

[issue37921] Improve zipfile: add support for symlinks

2019-08-22 Thread Pierre-Jean Grenier
New submission from Pierre-Jean Grenier : The module tarfile contains some methods for knowing whether an archive member is a regular file/a directory/a symlink. Apart from an "is_dir()" method, there was nothing alike in the zipfile module. For an on-going project, I needed to know whether