Mercurial > pidgin
changeset 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 | ba0f08ff3a43 |
children | 8261beed9653 27f2cdbbb701 |
files | pidgin/plugins/gevolution/gevolution.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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 {