From 7d249792235d0f3b69f833f89bef545a367f0b6b Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Tue, 31 Oct 2006 18:23:45 +0000 Subject: Remove equal sign from reserved characters in Exec args Add backslash to * Remove equal sign from reserved characters in Exec args * Add backslash to list of reserved characters in Exec args --- desktop-entry/ChangeLog | 4 ++++ desktop-entry/desktop-entry-spec.xml | 17 +++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/desktop-entry/ChangeLog b/desktop-entry/ChangeLog index a570173..4144c9a 100644 --- a/desktop-entry/ChangeLog +++ b/desktop-entry/ChangeLog @@ -1,3 +1,7 @@ +2006-10-30 Waldo Bastian + * Remove equal sign from reserved characters in Exec args + * Add backslash to list of reserved characters in Exec args + 2006-10-04 Waldo Bastian * Deprecate %v, it is FSDevice specific diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml index b36c5d4..6b06019 100644 --- a/desktop-entry/desktop-entry-spec.xml +++ b/desktop-entry/desktop-entry-spec.xml @@ -4,8 +4,8 @@
Desktop Entry Specification - Version 0.9.7 - 16 Oct 2006 + Version 0.9.8 + 31 Oct 2006 Preston @@ -562,7 +562,8 @@ The executable program can either be specified with its full path or with the name of the executable only. If no full path is provided the executable is looked up in the $PATH used by the desktop environment. - Arguments are separated by a space. + The name or path of the executable program may not contain the equal + sign ("="). Arguments are separated by a space. Arguments may be quoted in whole. If an argument contains a reserved @@ -577,11 +578,11 @@ additional backslash character. Implementations must undo quoting before expanding field codes and before passing the argument to the executable program. Reserved characters are space (" "), tab, newline, double - quote, single quote ("'"), greater-than sign (">"), less-than sign - ("<"), tilde ("~"), vertical bar ("|"), ampersand ("&"), - semicolon (";"), dollar sign ("$"), asterisk ("*"), question mark ("?"), - equal sign ("="), hash mark ("#"), parenthesis ("(") and (")") and - backtick character ("`"). + quote, single quote ("'"), backslash character ("\"), + greater-than sign (">"), less-than sign ("<"), + tilde ("~"), vertical bar ("|"), ampersand ("&"), semicolon (";"), + dollar sign ("$"), asterisk ("*"), question mark ("?"), hash mark ("#"), + parenthesis ("(") and (")") and backtick character ("`"). Note that the general escape rule for values of type string states that -- cgit v1.2.3-70-g09d2