[Bug 83974] Re: [feisty] apport-gtk is opening a wrong URL
Martin Pitt
martin.pitt at ubuntu.com
Thu Feb 15 12:08:58 UTC 2007
Aah, got it finally: apport 0.54 had a forgotten debugging change that
made it fall through using webbrowser.open(). This is the culprit, it
seems to quote arguments and call gnome-open through a shell, instead of
calling it directly:
>>> import webbrowser
>>> webbrowser.open('http://www.piware.de')
-> opens file:///home/martin/%22http://www.piware.de%22
This happens with
$ gconftool --get /desktop/gnome/url-handlers/http/command
/usr/lib/firefox/firefox "%s"
which is what upstream firefox sets if you check for default browser.
This also explains why it is fixed in python-apport 0.54, where the
debugging junk has been removed and gnome-open/firefox is called
directly.
** Changed in: libgnome (Ubuntu)
Sourcepackagename: libgnome => python2.5
Status: Unconfirmed => Confirmed
--
[feisty] apport-gtk is opening a wrong URL
https://launchpad.net/bugs/83974
More information about the Ubuntu-mozillateam-bugs
mailing list