OpenLinkWith icon indicating copy to clipboard operation
OpenLinkWith copied to clipboard

translate mime text/plain with geo link translates to invalid url "https://geo:53.123,8.765" instead of "geo:53.123,8.765"

Open k3b opened this issue 4 years ago • 1 comments
trafficstars

to reproduce:

from https://f-droid.org/wiki/page/ca.cmetcalfe.locationshare wait until the gps-location is ready then press "send"

locationshare creates a mine = "text/plain" that contains a geo-uri and OpenLinkWith translates it to

"https://geo:53.123,8.765" which no app understands

it should be translated to "geo:53.123,8.765" (without the https:) to allow opening it with other geo-aware apps like my app https://github.com/k3b/LocationMapViewer/

For reference see https://github.com/k3b/LocationMapViewer/issues/18

k3b avatar Jul 03 '21 14:07 k3b

Hi, thanks for the report. I designed OpenLinkWith to work with Http URLs only. There was a request to support file URLs too but it was not super straight forward to retrofit into current codebase.

I will look into what I can do to not force http into shared URLs.

On Sat, Jul 3, 2021, 16:31 k3b @.***> wrote:

to reproduce:

from https://f-droid.org/wiki/page/ca.cmetcalfe.locationshare wait until the gps-location is ready then press "send"

locationshare creates a mine = "text/plain" that contains a geo-uri and translates it to

"https://geo:53.123,8.765" which no app understands

it should be translated to "geo:53.123,8.765" (without the https:) to allow opening it with other geo-aware apps like my app https://github.com/k3b/LocationMapViewer/

For reference see k3b/LocationMapViewer#18 https://github.com/k3b/LocationMapViewer/issues/18

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tasomaniac/OpenLinkWith/issues/79, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAF2LS7IVLFFG23PTM4GXXLTV4NMTANCNFSM47YGGR6A .

tasomaniac avatar Jul 03 '21 14:07 tasomaniac