Skip to content

Safer warc.go path handling#193

Merged
NGTmeaty merged 1 commit into
internetarchive:masterfrom
vbanos:warc-path-fix
May 12, 2026
Merged

Safer warc.go path handling#193
NGTmeaty merged 1 commit into
internetarchive:masterfrom
vbanos:warc-path-fix

Conversation

@vbanos

@vbanos vbanos commented May 8, 2026

Copy link
Copy Markdown
Contributor

Issue: warc.go used settings.OutputDirectory + currentFileName (missing separator edge cases).
Fix: switched to filepath.Join(settings.OutputDirectory, currentFileName) (also used for final rename).

Issue: warc.go used `settings.OutputDirectory + currentFileName` (missing separator edge cases).
Fix: switched to `filepath.Join(settings.OutputDirectory, currentFileName)` (also used for final rename).

@NGTmeaty NGTmeaty left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good changes! Thank you!

@NGTmeaty NGTmeaty merged commit c79390c into internetarchive:master May 12, 2026
3 checks 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.

2 participants