Package: xdg-utils
Version: 1.0.2+cvs20100307-1
Severity: normal

When using xdg-open without desktop environment, xdg-open fails to open
document whose name contains spaces, only if default application is set for 
this type of document. this bug can be easely corrected with the patch
below.

--- /usr/bin/xdg-open   2010-03-07 13:05:29.000000000 +0100
+++ ~/bin/xdg-open      2010-08-12 01:45:25.000000000 +0200
@@ -395,7 +395,7 @@
                 command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- 
| first_word`"
                 command_exec=`which $command 2>/dev/null`
                 if [ -x "$command_exec" ] ; then
-                    $command_exec $1
+                    $command_exec "$1"
                     if [ $? -eq 0 ]; then
                         exit_success
                     fi


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

xdg-utils depends on no packages.

Versions of packages xdg-utils recommends:
ii  elinks [www-browser]         0.12~pre5-2 advanced text-mode WWW browser
ii  file                         5.04-5      Determines file type using "magic"
ii  iceweasel [www-browser]      3.5.11-1    Web browser based on Firefox
ii  mime-support                 3.48-1      MIME files 'mime.types' & 'mailcap
ii  shared-mime-info             0.71-3      FreeDesktop.org shared MIME databa
ii  x11-utils                    7.5+4       X11 utilities
ii  x11-xserver-utils            7.5+2       X server utilities

Versions of packages xdg-utils suggests:
pn  gvfs-bin                      <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to