[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 
<https://bugs.python.org/issue37921>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<https://bugs.python.org/issue37921>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 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.

--
components: Library (Lib)
messages: 350231
nosy: zaphodef
priority: normal
severity: normal
status: open
title: Improve zipfile: add support for symlinks
type: enhancement
versions: Python 3.9

___
Python tracker 
<https://bugs.python.org/issue37921>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com