[Xfce4-commits] <postler:master> Strip whitespace from content_encoding value

Christian Dywan noreply at xfce.org
Sat May 29 00:52:02 CEST 2010


Updating branch refs/heads/master
         to 4ca8199ad692805b8dd0555349abaf177cec303b (commit)
       from cd43a2592458e72bdd1bb5164fac4aee3e19b378 (commit)

commit 4ca8199ad692805b8dd0555349abaf177cec303b
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat May 29 00:51:00 2010 +0200

    Strip whitespace from content_encoding value

 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 8a97bca..020d7f7 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -189,7 +189,7 @@ public class Postler.Content : WebKit.WebView {
                 if (field == "content-type")
                     content_type = parts[1].strip ();
                 else if (field == "content-transfer-encoding")
-                    content_encoding = parts[1];
+                    content_encoding = parts[1].strip ();
                 else if (field == "subject") {
                     subject = parts[1].strip ();
                     subject = Postler.Messages.parse_encoded (subject, out charset);



More information about the Xfce4-commits mailing list