Package: claws-mail Version: 3.0.2-1 Severity: normal Tags: patch In a mailto: URI, the recipient's address may be URI-encoded, but claws doesn't decode it, as it does with the rest of the fields.
This patch solves the issue: diff -urN claws-mail-3.0.2-orig/src/common/utils.c claws-mail-3.0.2/src/common/utils.c --- claws-mail-3.0.2-orig/src/common/utils.c 2007-11-01 03:27:01.000000000 -0300 +++ claws-mail-3.0.2/src/common/utils.c 2007-11-01 03:25:51.000000000 -0300 @@ -1683,8 +1683,10 @@ p++; } - if (to && !*to) - *to = g_strdup(tmp_mailto); + if (to && !*to) { + *to = g_malloc(strlen(tmp_mailto) + 1); + decode_uri(*to, tmp_mailto); + } while (p) { gchar *field, *value; -- 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
signature.asc
Description: PGP signature