Bug#532855: incorrect parsing of e-mail addresses (to evolution)

Fabian Greffrath greffrath at leat.rub.de
Thu Aug 6 11:56:05 UTC 2009


Dear Emilio,

I've just realized that the fix you point to in this bug report has 
already been applied just before the release of version 0.14 .

What actually helped me was the following fix:

--- nautilus-sendto-0.14.0.orig/src/plugins/evolution.c
+++ nautilus-sendto-0.14.0/src/plugins/evolution.c
@@ -31,7 +31,7 @@
  #define GCONF_COMPLETION "/apps/evolution/addressbook"
  #define GCONF_COMPLETION_SOURCES GCONF_COMPLETION "/sources"

-#define CONTACT_FORMAT "%s <%s>"
+#define CONTACT_FORMAT "\\\"%s\\\" <%s>"

  static char *evo_cmd = NULL;
  static char *email = NULL;

It is a bit ugly, because it visibily parses the \" over to evolution, 
but then evolution at least treats "Greffrath, Fabian" as a single 
string and correctly sends the mail to the address appended in <...>.

Fabian







More information about the pkg-gnome-maintainers mailing list