Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZipArchiveAdapter fixes #1525

Merged
merged 2 commits into from
Jul 26, 2022
Merged

Conversation

kbond
Copy link
Contributor

@kbond kbond commented Jul 25, 2022

I discovered when deleting a directory that's at the root of the archive, just the inner files are deleted, not the actual directory. The first commit provides a fix for this.

I also would like to propose that all root paths be made absolute as you can't list directories otherwise. My second commit adds this.

@frankdejonge frankdejonge merged commit 3999593 into thephpleague:3.x Jul 26, 2022
@kbond kbond deleted the zip-archive-adapter-fix branch July 26, 2022 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants