talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 046c35c99c22742c70f00a2ba2c8216ac4174dce
parent e7c2bcc11c1a4f25619809da5db927f7fe7bba73
Author: Tristan Chabredier <wwp@claws-mail.org>
Date:   Fri,  8 Apr 2011 16:06:19 +0000

2011-04-08 [wwp]	3.7.8cvs74

	* src/procmime.c
	Add support for quoted values (*="value").
	This commonly fixes a trailing quote appearing to filenames
	sent by iphone Mail (not sure if it's culprit at all, though).

Diffstat:
MChangeLog | 7+++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/procmime.c | 2++
4 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,10 @@ +2011-04-08 [wwp] 3.7.8cvs74 + + * src/procmime.c + Add support for quoted values (*="value"). + This commonly fixes a trailing quote appearing to filenames + sent by iphone Mail (not sure if it's culprit at all, though). + 2011-04-08 [colin] 3.7.8cvs73 * src/gtk/filesel.c diff --git a/PATCHSETS b/PATCHSETS @@ -4147,3 +4147,4 @@ ( cvs diff -u -r 1.20.2.76 -r 1.20.2.77 src/common/utils.h; ) > 3.7.8cvs71.patchset ( cvs diff -u -r 1.382.2.569 -r 1.382.2.570 src/compose.c; ) > 3.7.8cvs72.patchset ( cvs diff -u -r 1.2.2.42 -r 1.2.2.43 src/gtk/filesel.c; ) > 3.7.8cvs73.patchset +( cvs diff -u -r 1.49.2.139 -r 1.49.2.140 src/procmime.c; ) > 3.7.8cvs74.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=7 MICRO_VERSION=8 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=73 +EXTRA_VERSION=74 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/procmime.c b/src/procmime.c @@ -1672,6 +1672,8 @@ static void parse_parameters(const gchar *parameters, GHashTable *table) dstpos++; } *dstpos = '\0'; + if (value[0] == '"') + extract_quote(value, '"'); } else { if (value[0] == '"') extract_quote(value, '"');