pidgin/plugins/gevolution/gevolution.c

branch
soc.2007.finchfeat
changeset 19307
0027732ddb26
parent 18860
3d47d8b63f6a
child 19859
71d37b57eff2
--- a/pidgin/plugins/gevolution/gevolution.c	Thu Jul 19 10:35:11 2007 +0000
+++ b/pidgin/plugins/gevolution/gevolution.c	Sun Jul 22 01:28:19 2007 +0000
@@ -227,11 +227,13 @@
 		if (app != NULL)
 		{
 			char *command_line = g_strdup_printf("%s mailto:%s", app, mail);
+			char *quoted = g_shell_quote(command_line);
 			g_free(app);
 			g_free(mail);
 
-			g_spawn_command_line_async(command_line, NULL);
+			g_spawn_command_line_async(quoted, NULL);
 			g_free(command_line);
+			g_free(quoted);
 		}
 		else
 		{

mercurial