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

Ensure decoded archive fs paths are never empty #648

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

aeisenberg
Copy link
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
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 adityasharad and a team 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