if [ x"$1" = "mailto" ]; then
Can never be equal. Either compare to "xmailto" or drop the initial x.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/136.