gh-111791: delegating extraction to zipfile module's extractall() method by sepastian · Pull Request #111824 · python/cpython
…to zipfile shutil.unpack_archive fails, if file name contains '..'; zipfile handles everything correctly, i.e. in the same way than 'unzip'; let zipfile unpack archives, instead of reinventing the wheel here
sepastian
changed the title
fixing #111791: delegating extraction to zipfile
delegating extraction to zipfile, fixing #111791
sepastian
changed the title
delegating extraction to zipfile, fixing #111791
gh-111791: delegating extraction to zipfile module's extractall() method
Filenames containing two dots ".." do not necessarily indicate relative path components. Only "../" identify a relative path component.
This was referenced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters