← Back to team overview

desktop-packages team mailing list archive

[Bug 1488787] [NEW] xdg-icon-resource does not support filenames with spaces

 

Public bug reported:

As reported in an upstream bug, xdg-icon-resource does not handle paths
(either filenames or dir names) containing spaces.

Example:
~ $ xdg-icon-resource install --novendor --size 48 "./foo bar.png" foobar
/usr/bin/xdg-icon-resource: 790: [: /home/xxx/foo: unexpected operator

A patch is provided to be applied downstream in Ubuntu as a new upstream
release of xdg-utils might take a while (the last one is from 2011!)

** Affects: xdg-utils
     Importance: Unknown
         Status: Unknown

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

** Patch added: "Quote var"
   https://bugs.launchpad.net/bugs/1488787/+attachment/4452531/+files/0001-xdg-icon-resource-does-not-support-filenames-with-sp.patch

** Bug watch added: freedesktop.org Bugzilla #91758
   https://bugs.freedesktop.org/show_bug.cgi?id=91758

** Also affects: xdg-utils via
   https://bugs.freedesktop.org/show_bug.cgi?id=91758
   Importance: Unknown
       Status: Unknown

-- 
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/1488787

Title:
   xdg-icon-resource does not support filenames with spaces

Status in Xdg-utils:
  Unknown
Status in xdg-utils package in Ubuntu:
  New

Bug description:
  As reported in an upstream bug, xdg-icon-resource does not handle
  paths (either filenames or dir names) containing spaces.

  Example:
  ~ $ xdg-icon-resource install --novendor --size 48 "./foo bar.png" foobar
  /usr/bin/xdg-icon-resource: 790: [: /home/xxx/foo: unexpected operator

  A patch is provided to be applied downstream in Ubuntu as a new
  upstream release of xdg-utils might take a while (the last one is from
  2011!)

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


Follow ups