Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-112795: Allow/ folder in a zipfile#112932

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

Merged
gpshead merged 5 commits intopython:mainfromaisk:root-in-zipfile
Jan 7, 2024
Merged

Conversation

@aisk
Copy link
Contributor

@aiskaisk commentedDec 10, 2023
edited
Loading

This behavior is introduced in#98346 (comment), but as#112795 shows, some tools such as jira or self structeded tools do have/ in the file lists in the created zip file. And modern unzip tools support them, so I think we should revert the change.

If this PR can be accepted, it should be backported to 3.12.

bohdansolovey reacted with thumbs up emoji
@erlend-aasland
Copy link
Contributor

cc.@gpshead, who reviewed and merged#98346

@erlend-aaslanderlend-aasland changed the titlegh-112795: allow/ folder in a zipfilegh-112795: Allow/ folder in a zipfileJan 6, 2024
@gpsheadgpshead self-assigned thisJan 6, 2024
@gpsheadgpshead added needs backport to 3.11only security fixes needs backport to 3.12only security fixes labelsJan 6, 2024
@gpsheadgpshead removed the needs backport to 3.11only security fixes labelJan 7, 2024
@gpsheadgpsheadenabled auto-merge (squash)January 7, 2024 01:09
@gpsheadgpshead merged commit541c5db intopython:mainJan 7, 2024
@miss-islington-app

This comment was marked as outdated.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJan 7, 2024
Allow extraction (no-op) of a "/" folder in a zipfile, they are commonly added by some archive creation tools.(cherry picked from commit541c5db)Co-authored-by: AN Long <aisk@users.noreply.github.com>Co-authored-by: Erlend E. Aasland <erlend@python.org>Co-authored-by: Gregory P. Smith <greg@krypto.org>
@bedevere-app
Copy link

GH-113789 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelJan 7, 2024
gpshead added a commit that referenced this pull requestJan 7, 2024
gh-112795: Allow `/` folder in a zipfile (GH-112932)Allow extraction (no-op) of a "/" folder in a zipfile, they are commonly added by some archive creation tools.(cherry picked from commit541c5db)Co-authored-by: AN Long <aisk@users.noreply.github.com>Co-authored-by: Erlend E. Aasland <erlend@python.org>Co-authored-by: Gregory P. Smith <greg@krypto.org>
@bedevere-bot

This comment was marked as outdated.

@bedevere-bot

This comment was marked as off-topic.

@aisk
Copy link
ContributorAuthor

aisk commentedJan 7, 2024

Thanks for the view! The buildbot failed and complains [Errno 28] No space left on device, so I think it's not related to this change.

gpshead reacted with thumbs up emoji

@aiskaisk deleted the root-in-zipfile branchJanuary 7, 2024 07:16
@gpshead
Copy link
Member

someone has subscribed apple support to the email address for this issue? i'm locking it for a while.

@pythonpython locked and limited conversation to collaboratorsJan 7, 2024
@pythonpython deleted a commentJan 7, 2024
@pythonpython deleted a commentJan 7, 2024
@pythonpython deleted a commentJan 7, 2024
@pythonpython deleted a commentJan 7, 2024
@pythonpython deleted a commentJan 7, 2024
@pythonpython deleted a commentJan 7, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@gpsheadgpsheadgpshead left review comments

@jaracojaracojaraco left review comments

Assignees

@gpsheadgpshead

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@aisk@erlend-aasland@bedevere-bot@gpshead@jaraco

[8]ページ先頭

©2009-2025 Movatter.jp