← 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

 

This bug was fixed in the package xdg-utils -
1.1.0~rc3+git20150907-1ubuntu1

---------------
xdg-utils (1.1.0~rc3+git20150907-1ubuntu1) wily; urgency=low

  * Merge from Debian unstable.  Remaining changes: (LP: #1495273)
    - debian/patches:
      * gnome-3.0.diff: Correctly open preferred browser with
        gnome-open (LP: #670128)
      * lp779156-lubuntu.diff: Add open_lxde and run_sylpheed function
        for improved LXDE and sylpheed support (LP: #779156)
      * xdg-screensaver-restore-timeout.diff: restore previous X11
        screensaver timeout when xdg-screensaver resume is used (LP: #1363540)
  * New upstream release fixes the following bugs:
    - xdg-mime query filetype does not work on KDE 5 (LP: #1454833)
    - xdg-open doesn't properly detect Xfce/Xubuntu (LP: #1388922)
    - xserver-blanking patch in Ubuntu duplicates code (LP: #1330386)
    - Typo in manpage of 'xdg-icon-resource' (LP: #996304)
    - xdg-open (to gnome-open) fails to launch file:// URL with query string
      (LP: #396162)

 -- Sean Davis <smd.seandavis@xxxxxxxxx>  Sun, 13 Sep 2015 12:39:10
-0400

** Changed in: xdg-utils (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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:
  Fix Released

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