strange escape handling in Exec line of .desktop files
Bug #335712 reported by
Steve Langasek
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-desktop (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Given a .desktop file with the following line:
Exec=env WINEPREFIX=
clicking on it causes the following command to be executed:
wine "C:\comlogo\
I.e., the backslashes in the quoted string are reduced once, but the backslashes in the unquoted string are reduced twice, resulting in an error when running the command.
I can't see any reason why the backslashes should be collapsed twice when not quoted; this is definitely not consistent with how this command is interpreted by a shell.
To post a comment you must log in.
This is almost certainly caused by glib, so re-assigning.