Package: claws-mail
Version: 3.0.2-1
Severity: normal
Tags: patch

"mailto:"; URIs can contain a bcc component, which claws does not honor. This
patch fixes it.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-lauren2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages claws-mail depends on:
ii  libaspell15             0.60.5-1         GNU Aspell spell-checker runtime l
ii  libc6                   2.6.1-6          GNU C Library: Shared libraries
ii  libcompfaceg1           1:1.5.2-4        Compress/decompress images for mai
ii  libetpan11              0.52-1           mail handling library
ii  libglib2.0-0            2.14.2-1         The GLib library of C routines
ii  libgnomeprint2.2-0      2.18.2-1         The GNOME 2.2 print architecture -
ii  libgnomeprintui2.2-0    2.18.1-1         GNOME 2.2 print architecture User 
ii  libgtk2.0-0             2.12.1-1         The GTK+ graphical user interface 
ii  libice6                 2:1.0.4-1        X11 Inter-Client Exchange library
ii  libldap2                2.1.30.dfsg-13.5 OpenLDAP libraries
ii  libpango1.0-0           1.18.3-1         Layout and rendering of internatio
ii  libpisock9              0.12.2-10        library for communicating with a P
ii  libsm6                  2:1.0.3-1+b1     X11 Session Management library
ii  libssl0.9.8             0.9.8g-1         SSL shared libraries

Versions of packages claws-mail recommends:
ii  aspell-de [aspell-dictionary] 20070829-3 German dictionary for aspell
ii  aspell-en [aspell-dictionary] 6.0-0-5.1  English dictionary for GNU Aspell
ii  aspell-es [aspell-dictionary] 1.9-12     Spanish dictionary for aspell
ii  claws-mail-i18n               3.0.2-1    Locale data for Claws Mail (i18n s
ii  xfonts-100dpi                 1:1.0.0-4  100 dpi fonts for X
ii  xfonts-75dpi                  1:1.0.0-4  75 dpi fonts for X

-- no debconf information

--- claws-mail-3.0.2-orig/src/compose.c 2007-11-01 03:27:03.000000000 -0300
+++ claws-mail-3.0.2/src/compose.c      2007-11-01 23:45:20.000000000 -0300
@@ -2366,18 +2366,21 @@
 {
        gchar *to = NULL;
        gchar *cc = NULL;
+       gchar *bcc = NULL;
        gchar *subject = NULL;
        gchar *body = NULL;
        gchar *temp = NULL;
        gsize  len = 0;
        gchar *attach = NULL;
 
-       scan_mailto_url(mailto, &to, &cc, NULL, &subject, &body, &attach);
+       scan_mailto_url(mailto, &to, &cc, &bcc, &subject, &body, &attach);
 
        if (to)
                compose_entry_append(compose, to, COMPOSE_TO);
        if (cc)
                compose_entry_append(compose, cc, COMPOSE_CC);
+       if (bcc)
+               compose_entry_append(compose, bcc, COMPOSE_BCC);
        if (subject) {
                if (!g_utf8_validate (subject, -1, NULL)) {
                        temp = g_locale_to_utf8 (subject, -1, NULL, &len, NULL);

Attachment: signature.asc
Description: PGP signature

Reply via email to