Increase the limit of characters to "secure" headers to 2048
authorJose Dapena Paz <jdapena@igalia.com>
Wed, 7 Oct 2009 10:49:59 +0000 (12:49 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Wed, 7 Oct 2009 10:49:59 +0000 (12:49 +0200)
(fixes NB#136030)

src/modest-text-utils.c

index 89dcb91..f84f2f6 100644 (file)
@@ -2047,7 +2047,7 @@ gchar *
 modest_text_utils_get_secure_header (const gchar *value,
                                     const gchar *header)
 {
-       const gint max_len = 128;
+       const gint max_len = 2048;
        gchar *new_value = NULL;
        gchar *needle = g_strrstr (value, header);