[Bug 396162] [NEW] xdg-open (to gnome-open) fails to launch file:// URL with query string

Jacob Smith jsmith at argotecinc.com
Mon Jul 6 14:59:46 UTC 2009


Public bug reported:

Binary package hint: xdg-utils

Attempting to launch a file URL with a query string attached fails using
xdg-open (calls gnome-open on my system).  I can successfully launch
with an anchor tag but not query string. If you try to launch directly
with firefox it is successful.

Ubuntu 9.04 w/Gnome
libgnome2-0:
  Installed: 2.26.0-0ubuntu2
xdg-utils:
  Installed: 1.0.2-6.1

Examples:

Fails:
$ xdg-open
'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm'
Error showing url: Error stating file
'/home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm':
No such file or directory

$ gnome-open
'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm'
Error showing url: Error stating file
'/home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm':
No such file or directory

Works:
$ xdg-open
'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm'

$ gnome-open
'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm'

$ gnome-open 'file:///home/jsmith/Desktop/test/introduction.html#AEN11'

$ firefox
'file:///home/jsmith/.wine/dosdevices/c:/users/jsmith/Desktop/Server/fpweb/index.htm?dirname=CPA&pagename=add.htm'

** Affects: xdg-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
xdg-open (to gnome-open) fails to launch file:// URL with query string
https://bugs.launchpad.net/bugs/396162
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list