Re: xdg-open requires preceding slash

2013-04-22 Thread Grant
 '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:b2e2cbb742754eb5a4ec14a5e71d0727ab2d7a90dn=Workaholics+Season+1+Complete+720ptr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80tr=udp%3A%2F%2Ftracker.publicbt.com%3A80tr=udp%3A%2F%2Ftracker.istole.it%3A6969tr=udp%3A%2F%2Ftracker.ccc.de%3A80

Working Example (preceding slash added):

$ xdg-open 
magnet:/?xt=urn:btih:b2e2cbb742754eb5a4ec14a5e71d0727ab2d7a90dn=Workaholics+Season+1+Complete+720ptr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80tr=udp%3A%2F%2Ftracker.publicbt.com%3A80tr=udp%3A%2F%2Ftracker.istole.it%3A6969tr=udp%3A%2F%2Ftracker.ccc.de%3A80

Magnet Link Source:

http://thepiratebay.se/torrent/6491489/Workaholics_Season_1_Complete_720p

- Grant
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: xdg-open requires preceding slash

2013-04-22 Thread Thiago Macieira
On domingo, 21 de abril de 2013 20.40.49, Grant wrote:
 Non-Working Example:
 
 $ xdg-open
 magnet:?xt=urn:btih:b2e2cbb742754eb5a4ec14a5e71d0727ab2d7a90dn=Workaholic
 s+Season+1+Complete+720ptr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80tr=u
 dp%3A%2F%2Ftracker.publicbt.com%3A80tr=udp%3A%2F%2Ftracker.istole.it%3A6969
 tr=udp%3A%2F%2Ftracker.ccc.de%3A80

Cannot reproduce. It works here.

Maybe the problem isn't xdg-open, but the desktop application that it 
launches. Maybe your desktop doesn't recognise the link.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
  PGP/GPG: 0x6EF45358; fingerprint:
  E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358


signature.asc
Description: This is a digitally signed message part.
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: xdg-open requires preceding slash

2013-04-22 Thread Rex Dieter
Thiago Macieira wrote:

 On domingo, 21 de abril de 2013 20.40.49, Grant wrote:
 Non-Working Example:
 
 $ xdg-open
 
magnet:?xt=urn:btih:b2e2cbb742754eb5a4ec14a5e71d0727ab2d7a90dn=Workaholic
 
s+Season+1+Complete+720ptr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80tr=u
 
dp%3A%2F%2Ftracker.publicbt.com%3A80tr=udp%3A%2F%2Ftracker.istole.it%3A6969
 tr=udp%3A%2F%2Ftracker.ccc.de%3A80
 
 Cannot reproduce. It works here.

Same here, using kde (with both ktorrent and transmission configured for 
magnet links), they both recognize the slashless magnet link fine.

-- rex

 Maybe the problem isn't xdg-open, but the desktop application that it
 launches. Maybe your desktop doesn't recognise the link.



___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: xdg-open requires preceding slash

2013-04-22 Thread Grant
 Non-Working Example:

 $ xdg-open

 magnet:?xt=urn:btih:b2e2cbb742754eb5a4ec14a5e71d0727ab2d7a90dn=Workaholic

 s+Season+1+Complete+720ptr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80tr=u

 dp%3A%2F%2Ftracker.publicbt.com%3A80tr=udp%3A%2F%2Ftracker.istole.it%3A6969
 tr=udp%3A%2F%2Ftracker.ccc.de%3A80

 Cannot reproduce. It works here.

 Same here, using kde (with both ktorrent and transmission configured for
 magnet links), they both recognize the slashless magnet link fine.

 -- rex

 Maybe the problem isn't xdg-open, but the desktop application that it
 launches. Maybe your desktop doesn't recognise the link.

Thank you Rex and Thiago.  I will look to transmission then.

- Grant
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg


Re: xdg-open requires preceding slash

2013-04-22 Thread Vincent Gerris
what client are you using? if another client works, please file a bug
against the one that does not work :).

On Mon, Apr 22, 2013 at 6:43 PM, Grant emailgr...@gmail.com wrote:
 Non-Working Example:

 $ xdg-open

 magnet:?xt=urn:btih:b2e2cbb742754eb5a4ec14a5e71d0727ab2d7a90dn=Workaholic

 s+Season+1+Complete+720ptr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80tr=u

 dp%3A%2F%2Ftracker.publicbt.com%3A80tr=udp%3A%2F%2Ftracker.istole.it%3A6969
 tr=udp%3A%2F%2Ftracker.ccc.de%3A80

 Cannot reproduce. It works here.

 Same here, using kde (with both ktorrent and transmission configured for
 magnet links), they both recognize the slashless magnet link fine.

 -- rex

 Maybe the problem isn't xdg-open, but the desktop application that it
 launches. Maybe your desktop doesn't recognise the link.

 Thank you Rex and Thiago.  I will look to transmission then.

 - Grant
 ___
 xdg mailing list
 xdg@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/xdg
___
xdg mailing list
xdg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xdg