[epiphany] Fix violation of the Desktop Entry Specification
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix violation of the Desktop Entry Specification
- Date: Tue, 21 Sep 2021 15:27:30 +0000 (UTC)
commit 01de932965d5c18b46608d094c0399ad9023b1aa
Author: Martin Puppe <dev mpuppe de>
Date: Thu Sep 16 11:12:04 2021 +0200
Fix violation of the Desktop Entry Specification
The Desktop Entry Specification[^1] mandates that arguments given in
the value of the “Exec” key are quoted in whole[^2].
[^1]: https://specifications.freedesktop.org/desktop-entry-spec/latest/index.html
[^2]: https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s07.html
Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1013>
lib/ephy-web-app-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c
index a6db43f04..5dc842352 100644
--- a/lib/ephy-web-app-utils.c
+++ b/lib/ephy-web-app-utils.c
@@ -295,7 +295,7 @@ create_desktop_file (const char *id,
file = g_key_file_new ();
g_key_file_set_value (file, "Desktop Entry", "Name", name);
- exec_string = g_strdup_printf ("epiphany --application-mode --profile=\"%s\" %s",
+ exec_string = g_strdup_printf ("epiphany --application-mode \"--profile=%s\" %s",
profile_dir,
address);
g_key_file_set_value (file, "Desktop Entry", "Exec", exec_string);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]