Skip to content

fix: missing info-hash error on malformed magnet URIs#266

Merged
stabldev merged 4 commits intomainfrom
fix/missing-info-hash-error
Feb 25, 2026
Merged

fix: missing info-hash error on malformed magnet URIs#266
stabldev merged 4 commits intomainfrom
fix/missing-info-hash-error

Conversation

@stabldev
Copy link
Copy Markdown
Owner

@stabldev stabldev commented Feb 25, 2026

Fixes #261 by automatically correcting malformed magnet URIs (e.g. missing the xt=urn: prefix before btih:) returned by some indexers. This prevents libtorrent from crashing during parsing and allows torrents to load normally.

@stabldev stabldev changed the title fix: missing info-hash error fix: missing info-hash error on malformed magnet URIs Feb 25, 2026
@stabldev stabldev merged commit 7e5d309 into main Feb 25, 2026
9 checks passed
@stabldev stabldev deleted the fix/missing-info-hash-error branch February 25, 2026 16:58
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.

[Bug] RuntimeError: missing info-hash from URI [libtorrent:22]

1 participant