[Portland-bugs] [Bug 15661] xdg-open breaks on spaces in paths when using generic open method

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 22 16:29:23 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15661


Greg Grossmeier <greg.grossmeier at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greg.grossmeier at gmail.com




--- Comment #1 from Greg Grossmeier <greg.grossmeier at gmail.com>  2008-04-22 16:29:23 PST ---
Confirmed this behavior in Hardy (xdg-utils 1.0.2-2) with the following:

greg at alexandria:~$echo $GNOME_DESKTOP_SESSION_ID
Default
greg at alexandria:~$unset GNOME_DESKTOP_SESSION_ID
greg at alexandria:~$echo $GNOME_DESKTOP_SESSION_ID

greg at alexandria:~$touch file\ with\ spaces.txt
greg at alexandria:~$xdg-open file\ with\ spaces.txt
local: 438: spaces.txt: bad variable name
Warning: unknown mime-type for "file" -- using "application/*"
Error: no such file "file"
greg at alexandria:~$touch file%20with%20a\ space.txt
greg at alexandria:~$ls | grep file
file%20with%20a space.txt
file with spaces.txt
greg at alexandria:~$xdg-open file%20with%20a\ space.txt
local: 438: space.txt: bad variable name
Warning: unknown mime-type for "file%20with%20a" -- using "application/*"
Error: no such file "file%20with%20a"

After an "export GNOME_DESKTOP_SESSION_ID=Default" the above xdg-open commands
work as expected.


-- 
Configure bugmail: http://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