Open xuhdev opened 8 years ago
This does not sound Vimperator specific. What happens without Vimperator?
Do you have anything for magnet links in about:preferences#applications
?
How are you opening the link? We generally just let firefox handle everything so I doubt it's anything vimperator specific.
I used the open
command. If I typed it in the navigation bar in Firefox, Firefox launched the associated application to open the link.
open
seems to use loadURIWithFlags
, not sure why it would be any different.
I think .
might be the reason. If a magnet link contains a dot, then the associated application is launched. If the link does not contain a dot, then the link is treated as a search string.
Shall we fix this? I think the situation is pretty clear now.
@xuhdev Unfortunately we're a bit short on manpower. Pull requests are most welcome, if you'd like to give it a shot yourself. Thanks.
@timss I can make a PR, if you can point out the location in the code where whether a string is a URL or a search keyword is detected. Thanks!
Not quite sure how that part works, if completions are relevant or not etc.
Maybe you can point him in the right direction, @gkatsev ?
Opening a magnet link automatically jumps to searching the link on the default search engine. Maybe this is a more general issue: links with a default application association should not be searched.