xdg-open requires preceding slash
Grant
emailgrant at gmail.com
Sun Apr 21 20:40:49 PDT 2013
>> 'xdg-open "magnet:/..."' works but 'xdg-open "magnet:..."' does not
>> work. piratebay.se provides magnet links in the second format. Can
>> xdg-open be made to not require the slash?
>
> Do you have a concrete example? While we're at it, mind filing a formal bug
> with a reproducible test case?
Sure, here's the bug:
https://bugs.freedesktop.org/show_bug.cgi?id=63792
Non-Working Example:
$ xdg-open "magnet:?xt=urn:btih:b2e2cbb742754eb5a4ec14a5e71d0727ab2d7a90&dn=Workaholics+Season+1+Complete+720p&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80"
Working Example (preceding slash added):
$ xdg-open "magnet:/?xt=urn:btih:b2e2cbb742754eb5a4ec14a5e71d0727ab2d7a90&dn=Workaholics+Season+1+Complete+720p&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80"
Magnet Link Source:
http://thepiratebay.se/torrent/6491489/Workaholics_Season_1_Complete_720p
- Grant
More information about the xdg
mailing list