Updating branch refs/heads/master
         to 5f1a2c3da0324d25133cfecdbc0f83ad072c09d0 (commit)
       from 574ad2d528f1e6e16c8353eb25311bcad47420e1 (commit)

commit 5f1a2c3da0324d25133cfecdbc0f83ad072c09d0
Author: Christian Dywan <[email protected]>
Date:   Fri Feb 11 22:03:14 2011 +0100

    NAME in Content-Type can be upper or lower case

 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 ddb8ce0..9feb0d1 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -564,7 +564,7 @@ public class Postler.Content : WebKit.WebView {
 
             if (part.has_prefix ("charset="))
                 charset = part.substring (8, part.length - 8).replace ("\"", 
"");
-            else if (part.has_prefix ("name="))
+            else if (part.has_prefix ("name=") || part.has_prefix ("NAME="))
                 filename = part.substring (5, part.length - 5).replace ("\"", 
"");
             else if (part.has_prefix ("filename="))
                 filename = part.substring (9, part.length - 9).replace ("\"", 
"");
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to