Bug 18567

Summary: xdg-desktop-icon breaks with spaces in path
Product: Portland Reporter: Marc Eppelmann <marc.eppelmann>
Component: xdg-utilsAssignee: Fathi Boudra <fabo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 1.0   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Marc Eppelmann 2008-11-17 03:09:07 UTC
xdg-desktop-icon -install fails if 
path to *.desktop file contains spaces

This could happen in line 523 in the line:

basefile=`basename $desktop_file`

which should be:

 basefile=`basename "$desktop_file"`

but I'm not sure.

Marc
Comment 1 Fathi Boudra 2009-07-26 09:46:32 UTC
You're right.

Fixed in CVS revision 1.19
http://webcvs.freedesktop.org/portland/portland/xdg-utils/scripts/xdg-desktop-icon?r1=1.18&r2=1.19

fixed also on every basename usage.

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.