This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zaphodef
Recipients zaphodef
Date 2019-08-22.21:14:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566508476.42.0.582332769766.issue37921@roundup.psfhosted.org>
In-reply-to
Content
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 an archive member was a symlink or not, to prevent zip symlinks attacks.

I thought this could be of used for other people, given I struggled a little to find a way of saying if an archive member is a symlink or not.

This is why I think adding support for symlinks in the zipfile module could be a good idea.
History
Date User Action Args
2019-08-22 21:14:36zaphodefsetrecipients: + zaphodef
2019-08-22 21:14:36zaphodefsetmessageid: <1566508476.42.0.582332769766.issue37921@roundup.psfhosted.org>
2019-08-22 21:14:36zaphodeflinkissue37921 messages
2019-08-22 21:14:36zaphodefcreate