[Portland-bugs] [Bug 27959] New: [xdg-open] Spaces in filename

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 4 05:19:29 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=27959

           Summary: [xdg-open] Spaces in filename
           Product: Portland
           Version: 1.0
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: jdvieira at gmail.com


Created an attachment (id=35408)
 View: https://bugs.freedesktop.org/attachment.cgi?id=35408
 Review: https://bugs.freedesktop.org/review?bug=27959&attachment=35408

patch to xdg-open accept filenames with spaces when using open_generic()

In configuration without a DE (i.e., running open_generic()), if you try to run
xdg-open with a filename which contains spaces an error will occur.

I wrote this small patch that fixes the issue.

Steps to reproduce:
$ xdg-open 1\ 2.jpg
feh WARNING: 1 does not exist - skipping
feh WARNING: 2.jpg does not exist - skipping
feh - No loadable images specified.
Use feh --help for detailed usage information.

Version tested: 
xdg-utils-1.0.2 (latest on website).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Portland-bugs mailing list