Mercurial > pidgin.yaz
diff pidgin/plugins/gevolution/gevolution.c @ 18595:f054b6fa9dfc
quote e-mail address before sending it to evolution
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Sat, 21 Jul 2007 23:30:59 +0000 |
| parents | ab6d2763b8d8 |
| children | 44b4e8bd759b |
line wrap: on
line diff
--- 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 {
