Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-98286: handle empty filename in ZipFile/ZipInfo properly#98346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
obfusk commentedOct 17, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
NB: this also raises the >>>importzipfile>>>fh=zipfile.ZipFile("x.zip")>>>fh.infolist()[<ZipInfofilename='///'filemode='drwxrwxr-x'external_attr=0x10>]>>>fh.extract("///","some_dir")ValueError:Emptyfilename. |
Note that |
Uh oh!
There was an error while loading.Please reload this page.