Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
Comments
bpo-41928: Add support for Unicode Path Extra Field in ZipFile#23736
bpo-41928: Add support for Unicode Path Extra Field in ZipFile#23736agiudiceandrea wants to merge 6 commits intopython:mainfrom
Conversation
ghost left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM
This PR is stale because it has been open for 30 days with no activity. |
agiudiceandrea commentedJan 22, 2021
When this PR will be reviewed and merged? |
orsenthil commentedFeb 8, 2021
@agiudiceandrea - Is there a way to add tests to this PR? It will be easier for a core-dev to review and merge this. |
danifus left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Hi, this is looking good. I've added some comments about validating the data in the extra fields. It would be good to have some tests (particularly ensuring that malicious file names get caught).
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
agiudiceandrea commentedJun 8, 2021
@danifus thank you very much for reviewing this PR! |
agiudiceandrea commentedJun 10, 2021
@danifus I've added both your suggested improvements. |
danifus commentedJun 13, 2021
Thanks for adding those changes! It would be good to add some tests for this new functionality. Are you able to create a minimal test file using an external program such as 7z and then embed the bytes into a test in Here's a script that you can use to turn an arbitrary file into text that you can paste into the test: There are a number of tests in test_zipfile.py that do something similar for various functionality |
yeojin-dev commentedMar 2, 2023
@agiudiceandrea Can I finish this issue? I ask you a question first because you're almost done. |
ArcticLampyrid commentedAug 10, 2023
Is there any progress? |
ambv commentedAug 11, 2023
Closing and reopening to trigger CLA check. |
agiudiceandrea commentedAug 11, 2023
Hi@yeojin-dev, I apologise for replying so late. I've missed the notification of comments from this PR. |
ArcticLampyrid commentedAug 11, 2023
Seems that the task has been finished in#102566. |
Uh oh!
There was an error while loading.Please reload this page.
Add support for Unicode Path Extra Field (0x7075) following4.6.9 APPNOTE.TXT - .ZIP File Format Specification.
https://bugs.python.org/issue41928