From 046516d8589b60126c9ace8d1cae4b16958138c2 Mon Sep 17 00:00:00 2001 From: Aki Koskinen Date: Sun, 14 Feb 2010 16:28:03 +0200 Subject: [PATCH] Quote the URL parameter --- getmehome/lib-timeout-home-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getmehome/lib-timeout-home-widget.c b/getmehome/lib-timeout-home-widget.c index 6eb701c..e3f623d 100644 --- a/getmehome/lib-timeout-home-widget.c +++ b/getmehome/lib-timeout-home-widget.c @@ -82,7 +82,7 @@ void get_me_home(KKJ x, KKJ y) // Open the browser char command[1024]; - sprintf(command, "browser_dbuscmd.sh load_url %s", url); + sprintf(command, "browser_dbuscmd.sh load_url \"%s\"", url); system(command); } -- 1.7.9.5