2004-12-17 [thorsten] 0.9.13cvs20
authorThorsten Maerz <torte@netztorte.de>
Fri, 17 Dec 2004 18:13:47 +0000 (18:13 +0000)
committerThorsten Maerz <torte@netztorte.de>
Fri, 17 Dec 2004 18:13:47 +0000 (18:13 +0000)
* src/compose.c
protect trailing spaces when signing message

ChangeLog.claws
PATCHSETS
configure.ac
src/compose.c

index 813166807d11a5260cc5599280e928bda45855a0..6a12bc7824e7a1880a1d0ba18c7b6deffb8544df 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-17 [thorsten]  0.9.13cvs20
+
+       * src/compose.c
+               protect trailing spaces when signing message
+
 2004-12-16 [paul]      0.9.13cvs19
 
        * ChangeLog
index 45da540704c872ec7cd3666bd3ed96844191443d..3de0892a8e255c9cbe0d5180567dfb0ba129b2ff 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.7 -r 1.8 src/gtk/gtkutils.c; cvs diff -u -r 1.6 -r 1.7 src/gtk/gtkutils.h; cvs diff -u -r 1.18 -r 1.19 src/gtk/prefswindow.c; ) > 0.9.13cvs17.patchset
 ( cvs diff -u -r 1.19 -r 1.20 src/gtk/prefswindow.c; ) > 0.9.13cvs18.patchset
 ( cvs diff -u -r 1.450 -r 1.451 ChangeLog; cvs diff -u -r 1.445 -r 1.446 ChangeLog.jp; cvs diff -u -r 1.53 -r 1.54 NEWS; cvs diff -u -r 1.464 -r 1.465 src/compose.c; cvs diff -u -r 1.16 -r 1.17 src/syldap.c; ) > 0.9.13cvs19.patchset
+( cvs diff -u -r 1.465 -r 1.466 src/compose.c; ) > 0.9.13cvs20.patchset
index c9fcc6993e34fe61da09ee91e1eff43c95487048..7be37855e451cf63d7795dfd500c86f1ea8bdaca 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=13
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=19
+EXTRA_VERSION=20
 EXTRA_RELEASE=
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
index fd1eacafd5333164675038fadd41eba9fa097578..d05a379011671c3da41cc9bc8320db46b62c73c1 100644 (file)
@@ -3465,6 +3465,10 @@ static gint compose_write_to_file(Compose *compose, FILE *fp, gint action)
        mimetext->subtype = g_strdup("plain");
        g_hash_table_insert(mimetext->typeparameters, g_strdup("charset"),
                            g_strdup(out_codeset));
+       /* protect trailing spaces when signing message */
+       if (action == COMPOSE_WRITE_FOR_SEND && compose->use_signing && 
+           privacy_system_can_sign(compose->privacy_system))
+               encoding = ENC_QUOTED_PRINTABLE;
        if (encoding != ENC_UNKNOWN)
                procmime_encode_content(mimetext, encoding);