tag 485855 patch
thanks

While I'm not a sylpheed user, I've just seen the result of this in some
messages in debian-devel: "From " being escaped (for storage in an mbox file)
as ">From ", thus invalidating the GPG signature.

This should fix it (compile-tested only):

--- ./libsylph/quoted-printable.c~      2006-08-31 09:21:16.000000000 +0100
+++ ./libsylph/quoted-printable.c       2009-04-14 13:28:11.000000000 +0100
@@ -43,6 +43,15 @@ void qp_encode_line(gchar *out, const gu
        guchar ch;
        gint len = 0;
 
+       if (!strncmp (in, "From ", 5))
+       {
+               *outp++ = '=';
+               *outp++ = '4';
+               *outp++ = '6';
+               len += 3;
+               inp++;
+       }
+
        while (*inp != '\0') {
                ch = *inp;
 

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Output less CO2 => avoid massive flooding.    TIME IS RUNNING OUT *FAST*.

I'd like to, but I want to spend more time with my blender.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to