From: Aki Koskinen Date: Sun, 14 Feb 2010 14:28:03 +0000 (+0200) Subject: Quote the URL parameter X-Git-Url: https://vcs.maemo.org/git/?p=ptas;a=commitdiff_plain;h=046516d8589b60126c9ace8d1cae4b16958138c2 Quote the URL parameter --- 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); }