[Xfce4-commits] <postler:master> Regard content-transfer-encoding as case-insensitive

Christian Dywan noreply at xfce.org
Tue Feb 8 19:16:02 CET 2011


Updating branch refs/heads/master
         to 4b07864f19f4caeee49402d52c62040c08b161b4 (commit)
       from 23084bc1ae577cacf310196a8fcc446d9d1213b2 (commit)

commit 4b07864f19f4caeee49402d52c62040c08b161b4
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Feb 7 11:07:51 2011 +0100

    Regard content-transfer-encoding as case-insensitive

 postler/postler-content.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index ef0c996..0faad97 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -857,7 +857,7 @@ public class Postler.Content : WebKit.WebView {
                             message_part.plain_text = mtype == "text/plain";
                         }
                         else if (field == "content-transfer-encoding") {
-                            content_encoding = parts[1].strip ();
+                            content_encoding = ascii_strdown (parts[1].strip ());
                         }
                         else if (field == "content-disposition" ) {
                             string content_disposition = parts[1].strip ();



More information about the Xfce4-commits mailing list