[Xfce4-commits] <postler:master> boundary= in Content-Type can be written Boundary=

Christian Dywan noreply at xfce.org
Thu Jul 29 12:26:13 CEST 2010


Updating branch refs/heads/master
         to fe6ceab542c5ed35a479ef0790dfd35586720f48 (commit)
       from 3587dbc3436fef5723176aa4f382a32d43ecb3ad (commit)

commit fe6ceab542c5ed35a479ef0790dfd35586720f48
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Jul 27 16:32:14 2010 +0200

    boundary= in Content-Type can be written Boundary=

 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 e3de4b6..084cd5f 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -371,7 +371,7 @@ public class Postler.Content : WebKit.WebView {
                 charset = part.substring (8, part.length - 8).replace ("\"", "");
             else if (part.has_prefix ("name="))
                 filename = part.substring (5, part.length - 5).replace ("\"", "");
-            else if (part.has_prefix ("boundary="))
+            else if (part.down ().has_prefix ("boundary="))
                 boundary = part.substring (9, part.length - 9).replace ("\"", "");
             else if (part != "" && !part.contains ("="))
                 mime_type = ascii_strdown (part);



More information about the Xfce4-commits mailing list