Quote the URL parameter
authorAki Koskinen <aki.koskinen@nokia.com>
Sun, 14 Feb 2010 14:28:03 +0000 (16:28 +0200)
committerAki Koskinen <aki.koskinen@nokia.com>
Sun, 14 Feb 2010 14:28:03 +0000 (16:28 +0200)
getmehome/lib-timeout-home-widget.c

index 6eb701c..e3f623d 100644 (file)
@@ -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);
 }