Skip to content

fix(importer): resolve absolute path leakage and retry path inconsistency#1

Merged
drondeseries merged 1 commit into
mainfrom
fix/importer-path-resolution
May 21, 2026
Merged

fix(importer): resolve absolute path leakage and retry path inconsistency#1
drondeseries merged 1 commit into
mainfrom
fix/importer-path-resolution

Conversation

@drondeseries
Copy link
Copy Markdown
Owner

This PR fixes path resolution bugs in the importer that caused files to be incorrectly placed in temporary directories and resulted in Arrs being unable to find files.

Key Changes:

  • Manual Scan: Fixed host-absolute path leakage in DirectoryScanner.
  • Virtual Directory: Hardened CalculateVirtualDirectory to ensure relative paths.
  • Retry Logic: Sanitized basePath in service.go to prevent host-absolute path usage during retries.
  • Reporting: Improved calculateHistoryStoragePath to ensure Arrs receive correct paths.

@drondeseries drondeseries merged commit ab89a3a into main May 21, 2026
2 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.

1 participant