Skip to content

ZipArchiveAdapter changes for dealing with root dir ('')#1548

Open
kbond wants to merge 1 commit intothephpleague:3.xfrom
kbond:zip-archive-improvements
Open

ZipArchiveAdapter changes for dealing with root dir ('')#1548
kbond wants to merge 1 commit intothephpleague:3.xfrom
kbond:zip-archive-improvements

Conversation

@kbond
Copy link
Copy Markdown
Contributor

@kbond kbond commented Sep 7, 2022

This PR proposes the following changes for ZipArchiveAdapter:

  • When checking existence of root dir, check if file exists
  • When deleting root dir, delete file

- When checking existence of root dir, check if file exists
- When deleting root dir, delete file
@SamMousa
Copy link
Copy Markdown

This is a BC break for any code that externally access the zip file which may now no longer exist.

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.

3 participants