Open bwitt opened 1 year ago
@jonathanjsimon can you test this and make sure it still works for your case in https://github.com/erickok/transdroid/pull/551 ?
I think this is a good fix; though I will want to test it a bit on various clients befor emerging.
Move the stripping of whitespace from a torrent link to before the URL decode happens. Hopefully this will still remove unwanted whitespace introduced by copy paste from the terminal as in https://github.com/erickok/transdroid/pull/551 while still encoding the spaces present in a magnet link as in https://github.com/erickok/transdroid/issues/618.
Fixes https://github.com/erickok/transdroid/issues/618