Repository navigation
fix(rpc): resolve nested output paths under download directory - #32
Merged
Merged
Conversation
Restore directory-relative HTTP/FTP out semantics for cloud-drive clients that send leading-slash paths. Preserve absolute BitTorrent index-out mappings and apply the same rule when changing task options. Add native and real-engine regressions for nested directories, Unicode names, SQLite restart recovery, and absolute torrent mappings. Refs: agalwood/Motrix#2502
11 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cloud-drive RPC clients send nested paths such as
/album/file.bininout. The absolute-path handling added toapplyDirbypasseddir, so Motrix attempted to create folders at the filesystem root and failed with error 18.Restore upstream HTTP/FTP
outsemantics for both task creation andchangeOption, including SQLite/text-session reconstruction. Preserve absolute BitTorrentindex-outmappings. Add native tests and real-engine regressions for nested Unicode paths, a missing destination directory, option changes, restart recovery, and torrent mappings. Run the regression against all seven native release-contract targets before publication, and document the compatibility behavior for motrix.23.Refs: agalwood/Motrix#2502. Motrix integration follows after the engine release.
Validation on macOS arm64:
aria2-adapter.integration.test.ts: 5 tests pass with the candidate engine.