Skip to content

Ensure decoded archive fs paths are never empty#648

Merged
alexet merged 1 commit intogithub:mainfrom
aeisenberg:aeisenberg/ensure-slash-archive-fs
Oct 27, 2020
Merged

Ensure decoded archive fs paths are never empty#648
alexet merged 1 commit intogithub:mainfrom
aeisenberg:aeisenberg/ensure-slash-archive-fs

Conversation

@aeisenberg
Copy link
Copy Markdown
Contributor

Empty paths should be replaced as '/'. This is a fix for a bug
introduced in 899f988.

Resolves #647.

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [n/a] @github/docs-content-dsp has been cc'd in all issues for UI or other user-facing changes made by this pull request.

Empty paths should be replaced as '/'. This is a fix for a bug
introduced in 899f988.
@aeisenberg
Copy link
Copy Markdown
Contributor Author

Confirmed that this works both in mac and windows. Not tested on linux, but I have no reason to believe it is different from mac. The problem was that our zip file extractor was failing to find the root directory when there is no slash. 899f988 removed the requirement for source archive root paths to have a /. This commit ensures that they always do.

@aeisenberg aeisenberg requested review from a team and adityasharad October 27, 2020 18:36
@alexet alexet merged commit 2ac44b1 into github:main Oct 27, 2020
@aeisenberg aeisenberg deleted the aeisenberg/ensure-slash-archive-fs branch November 24, 2020 22:32
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.

Database sources unavailable after adding database on windows

2 participants