2011-04-08 [wwp] 3.7.8cvs74
authorTristan Chabredier <wwp@claws-mail.org>
Fri, 8 Apr 2011 16:06:19 +0000 (16:06 +0000)
committerTristan Chabredier <wwp@claws-mail.org>
Fri, 8 Apr 2011 16:06:19 +0000 (16:06 +0000)
* 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).

ChangeLog
PATCHSETS
configure.ac
src/procmime.c

index 3f3e4496dad79c72a729668c6044b43fbd253003..95a37d8ece74a1d898cc60f11d280c92418a2f89 100644 (file)
--- 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
 2011-04-08 [colin]     3.7.8cvs73
 
        * src/gtk/filesel.c
index d95bb1dd6d68cfa85ed465190a476e4e1956b147..9fffd93f58c853cca7e217784330b6dd5ed70ef1 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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.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
index 12457b02b5e31a0e039d953d28248b464485fa3e..0a63eb34f5b0245f3b091f4ed4bbe61f40438ed1 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=7
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=73
+EXTRA_VERSION=74
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index ff1e93ba0e342d9006ae986723f8f052ce3a74c4..e44627eade36ab0182444fb2406268d5714e1eb2 100644 (file)
@@ -1672,6 +1672,8 @@ static void parse_parameters(const gchar *parameters, GHashTable *table)
                                dstpos++;
                        }
                        *dstpos = '\0';
                                dstpos++;
                        }
                        *dstpos = '\0';
+                       if (value[0] == '"')
+                               extract_quote(value, '"');
                } else {
                        if (value[0] == '"')
                                extract_quote(value, '"');
                } else {
                        if (value[0] == '"')
                                extract_quote(value, '"');