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 no temporary directories are left behind #21

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

rabadin
Copy link
Contributor

@rabadin rabadin commented Aug 28, 2024

The core problem is that base64 encoded strings can have slashes in them... so this would create intermediate directories that would be left behind. Using a different encoding for the temporary files solves this problem.

Fixes #5

internal/resource.go Outdated Show resolved Hide resolved
@rabadin rabadin changed the title Remove temporary directories Ensure no temporary directories are left behind Aug 29, 2024
Copy link
Contributor

@jsquyres jsquyres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@rabadin rabadin merged commit b350ab9 into cisco-open:main Aug 29, 2024
1 check passed
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.

grabit v0.1.2 download leaves a temporary directory
2 participants