flatpak / flatpak-xdg-utils

Simple portal-based commandline tools for use inside flatpak sandboxes
GNU Lesser General Public License v2.1
34 stars 14 forks source link

xdg-email doesn't seem to support `mailto:` URLs #19

Closed smcv closed 4 years ago

smcv commented 5 years ago

The reference xdg-email(1) is documented as accepting these as equivalent:

xdg-email --subject="Make Money Fast" --body="Spam" me@example.com
xdg-email "mailto:me@example.com?subject=Make%20Money%20Fast&body=Spam"

but I don't see any code in xdg-email to handle the latter.

matthiasclasen commented 5 years ago

Do you know of users in the wild using a mailto: url for xdg-email ?

smcv commented 5 years ago

The documentation and --help were my only reference, but https://codesearch.debian.net/search?q=xdg-email.*mailto%3A says jami (formerly ring) also uses mailto:.

jhenstridge commented 4 years ago

For what it is worth, Chromium also calls xdg-email with a mailto: URI:

https://github.com/chromium/chromium/blob/master/chrome/browser/platform_util_linux.cc#L187

So that probably extends to some Electron apps too.