transdroid icon indicating copy to clipboard operation
transdroid copied to clipboard

Fix stripping space out of links but keep spaces in name intact

Open bwitt opened this issue 3 years ago • 2 comments

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

bwitt avatar Nov 07 '22 04:11 bwitt

@jonathanjsimon can you test this and make sure it still works for your case in https://github.com/erickok/transdroid/pull/551 ?

bwitt avatar Nov 07 '22 04:11 bwitt

I think this is a good fix; though I will want to test it a bit on various clients befor emerging.

erickok avatar Nov 18 '22 08:11 erickok