Skip to content

fix: trim whitespace/CR when reading trackers.txt#801

Open
kirill-782 wants to merge 2 commits into
YouROK:masterfrom
kirill-782:master
Open

fix: trim whitespace/CR when reading trackers.txt#801
kirill-782 wants to merge 2 commits into
YouROK:masterfrom
kirill-782:master

Conversation

@kirill-782

Copy link
Copy Markdown

Trim each line in GetTrackerFromFile before the http/udp prefix check so leading spaces and trailing CR (from CRLF-saved files) no longer drop valid trackers or leave a stray \r inside the announce URL.

kirill-782 and others added 2 commits July 20, 2026 23:56
Trim each line in GetTrackerFromFile before the http/udp prefix check so
leading spaces and trailing CR (from CRLF-saved files) no longer drop
valid trackers or leave a stray \r inside the announce URL.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kirill-782
kirill-782 marked this pull request as ready for review July 21, 2026 19:32
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