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.
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 www.piware. de')
>>> webbrowser.open('http://
-> opens file:// /home/martin/ %22http: //www.piware. de%22
This happens with
$ gconftool --get /desktop/ gnome/url- handlers/ http/command lib/firefox/ firefox "%s"
/usr/
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.