I was trying to download a torrent with aria when I found out about this. When you paste something with more than 625 characters in length into the openwrt console (with ssh) it gets cut off. Here's the magnet link I was trying to download:
magnet:?xt=urn:btih:4IHYKQEPEPRM7AQ37RKU2YZYHLIJEUWV&tr=http://nyaa.tracker.wf:7777/announce&tr=udp://tracker.coppersurfer.tk:6969/announce&tr=udp://tracker.internetwarriors.net:1337/announce&tr=udp://tracker.leechers-paradise.org:6969/announce&tr=http://tracker.internetwarriors.net:1337/announce&tr=udp://tracker.opentrackr.org:1337/announce&tr=http://tracker.opentrackr.org:1337/announce&tr=udp://tracker.zer0day.to:1337/announce&tr=http://explodie.org:6969/announce&tr=http://p4p.arenabg.com:1337/announce&tr=udp://p4p.arenabg.com:1337/announce&tr=http://mgtracker.org:6969/announce&tr=udp://mgtracker.org:6969/announce
Pasting the magnet link into the console is fine but when you add the command aria2c
in the beginning, the magnet link gets cut off. Is there a way to get rid of this? I want to be able to paste as many characters as possible, at least 1000 characters in length so that I can download magnet links without a hassle.
Note that pasting more than 625 characters inside vi
or vim
on openwrt works just fine, it just doesn't work when you paste it right into the console.