GNU bug report logs -
#62747
29.0.90; Invalid desktop file
Previous Next
Reported by: Andreas Schwab <schwab <at> linux-m68k.org>
Date: Mon, 10 Apr 2023 09:29:01 UTC
Severity: normal
Tags: notabug
Found in version 29.0.90
Done: Andreas Schwab <schwab <at> linux-m68k.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --create-frame --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Action new-window" contains a non-escaped character '$' in a quote, but it should be escaped with two backslashes ("\\$")
Sorry, but I don't see any unescaped $ there, all are escaped as \\$.
>> invalid-desktopfile /usr/share/applications/emacsclient-mail.desktop value "sh -c "u=\\$(echo \\"\\$1\\" | sed 's/[\\\\\\"]/\\\\\\\\&/g'); exec emacsclient --alternate-editor= --create-frame --eval \\"(message-mailto \\\\\\"\\$u\\\\\\")\\"" sh %u" for key "Exec" in group "Desktop Action new-window" contains a quote which is not closed
Same here, I don't see any unclosed quote.
Also, where does that log appear, and how can I reproduce it?
This bug report was last modified 2 years and 134 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.