Max Nikulin <maniku...@gmail.com> writes:
> If you are interested in debugging then you may try

Thanks for the tips!

> xdg-open org-protocol://store-link/http%3a%2f%2flocalhost/some%20title
                                    ^
This works when fixed:    store-link:/
(added missing colon)
                                  
>
> or XFCE native exo-open to determine if it is a Firefox issue.

Also works. Looks like Firefox is the culprit.

> In Firefox developer tools console settings you may enable "Persist
> logs" to not clear messages on navigation events. It should allow to
> inspect what URL Firefox actually tries to open.

Thanks, I didn't know that! It seems the problem is that Firefox drops
the colon between ~store-link~ and the next slash. Using the old-style
bookmarklet

  
javascript:location.href='org-protocol://store-link:/'+encodeURIComponent(location.href)+'/'+encodeURIComponent(document.title);void(0);

results in the following console log entry:

  Navigated to 
org-protocol://store-link/https%3A%2F%2Forgmode.org%2Fworg%2F/Hello%20Worg%2C%20the%20Org-Mode%20Community!
 

This seems likely to be the problem you surmised (Firefox ditching the
colon because it isn't followed by a port number).

But if it's Firefox, then why aren't you seeing it? Some special setting?

Fortunately, this is of limited importance, given that query-style urls
are now the norm, but I can mention it in the historical section.

Yours,
Christian

Reply via email to