"Invalid link" when adding trackers from clipboard
When I try to add trackers copied from the ngosang tracker lists an "Invalid link" message appears in the dialog.
Steps to reproduce:
- open any tracker lists (eg. trackers_best) from the ngosang GitHub page: https://github.com/ngosang/trackerslist
- copy the content to clipboard
- open a torrent file in LibreTorrent and initalize "Add trackers" action
- paste the content of the clipboard into the input box
- an "Invalid link" message appears and prevents the action
Workaround: If I try to paste as simple "Paste" command (not "Paste as clear text") then there is no empty new line between the trackers. But if I add the empty new line manually then LibreTorrent can process the list without errors.
System:
- Android 10 (Xiaomi Mi A2: Android One)
- LibreTorrent 2.1 installed via AuroraDroid (from F-Droid repository)
- keyboard: OpenBoard 1.3 installed via AuroraStore