"gio open" handles mailto: links wrong, putting /// at the start of the email address

Bug #1733597 reported by Jonathan Kamens on 2017-11-21
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GLib
Fix Released
Medium
glib2.0 (Ubuntu)
Low
Unassigned

Bug Description

"gio open mailto:user@host" results in gio executing "thunderbird mailto:///user@host", which is wrong and causes the address that shows up in the thunderbird composition window to start with three slashes when it shouldn't.

Proof, from "strace gio open mailto:user@host" output:

16976 execve("/usr/bin/gio", ["gio", "open", "mailto:user@host"], [/* 76 vars */]) = 0
16980 execve("/usr/bin/thunderbird", ["thunderbird", "mailto:///user@host"], [/* 78 vars */] <unfinished ...>

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: libglib2.0-bin 2.54.1-1ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.4
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Nov 21 08:39:42 2017
InstallationDate: Installed on 2017-05-19 (185 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: glib2.0
UpgradeStatus: Upgraded to artful on 2017-10-20 (31 days ago)

Jonathan Kamens (jik) wrote :
Sebastien Bacher (seb128) wrote :

Thanks, that was already reported upstream as https://bugzilla.gnome.org/show_bug.cgi?id=779182 and is fixed in upstream git

Changed in glib2.0 (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
Changed in glib:
importance: Unknown → Medium
status: Unknown → Fix Released
Changed in glib2.0 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.