Bug 27959 - [xdg-open] Spaces in filename
Summary: [xdg-open] Spaces in filename
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: 1.0
Hardware: All Linux (All)
: medium critical
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
: 28133 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-04 05:19 UTC by Vieira
Modified: 2010-05-16 10:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch to xdg-open accept filenames with spaces when using open_generic() (509 bytes, patch)
2010-05-04 05:19 UTC, Vieira
Details | Splinter Review

Description Vieira 2010-05-04 05:19:28 UTC
Created attachment 35408 [details] [review]
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).
Comment 1 Alexander Lam 2010-05-16 08:40:03 UTC
Oops, I created bug #28133 without checking this one.
Comment 2 Alexander Lam 2010-05-16 08:40:33 UTC
*** Bug 28133 has been marked as a duplicate of this bug. ***
Comment 3 Rex Dieter 2010-05-16 10:31:51 UTC
fixed in cvs, thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.