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

RT #119949: Correctly concat prefix on directories #18

Merged
merged 2 commits into from
Mar 25, 2023
Merged

RT #119949: Correctly concat prefix on directories #18

merged 2 commits into from
Mar 25, 2023

Conversation

ColMelvin
Copy link
Contributor

When concatenating the prefix & name fields of a tar header, any trailing slashes in the name would be stripped off when the full_path is reported. Re-add the trailing slash for consistency with other directories in the tarball.

Additionally, add a test to show the issue in action.

Add an incorrectly handled tarball to the roundtrip tests.
When concatenating the prefix & name fields of a tar header, any trailing
slashes in the name would be stripped off.  Re-add the trailing slash for
consistency with other directories in the tarball.
@bingos bingos merged commit 2d47379 into jib:master Mar 25, 2023
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