← Back to team overview

desktop-packages team mailing list archive

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

 

** Branch linked: lp:ubuntu/wily-proposed/xdg-utils

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xdg-utils in Ubuntu.
https://bugs.launchpad.net/bugs/396162

Title:
  xdg-open (to gnome-open) fails to launch file:// URL with query string

Status in Xdg-utils:
  Fix Released
Status in xdg-utils package in Ubuntu:
  Confirmed

Bug description:
  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'

To manage notifications about this bug go to:
https://bugs.launchpad.net/xdg-utils/+bug/396162/+subscriptions