[Portland-bugs] [Bug 30453] New: xdg-open is broken when a .desktop file Exec has arguments
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 29 02:50:21 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=30453
Summary: xdg-open is broken when a .desktop file Exec has
arguments
Product: Portland
Version: 1.0
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: jim.duchek at gmail.com
If a given .desktop file has an Exec line like, say:
Exec=test-app -i %f
Which is perfectly legal in the .desktop spec, 'xdg-open <file>' will actually
execute 'test-app <file>'.
Attached is a patch that works. It should probably be looked at by something
with a bit more shell scripting/sed finesse. It will also break if a filename
has an asterisk in it -- it seemed the safest character to use as a sed
delimiter.
--
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