# HG changeset patch # User Sean Egan # Date 1185060659 0 # Node ID f054b6fa9dfcb986aa38483e8c4f68d5ce74005c # Parent ba0f08ff3a43bcbe2f234a1ae765cf0c7a62a253 quote e-mail address before sending it to evolution diff -r ba0f08ff3a43 -r f054b6fa9dfc pidgin/plugins/gevolution/gevolution.c --- a/pidgin/plugins/gevolution/gevolution.c Sat Jul 21 23:16:08 2007 +0000 +++ b/pidgin/plugins/gevolution/gevolution.c Sat Jul 21 23:30:59 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 {