From: Sergio Villar Senin Date: Wed, 4 Nov 2009 11:54:05 +0000 (+0100) Subject: Increase the char limit for considering a header as "secure" X-Git-Tag: 3.1.11~1 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=ecd414d0a70e162f5c5feea60c735db7c44b457b;ds=sidebyside Increase the char limit for considering a header as "secure" It seems that 2048 chars is not enough in some situations. Fixes NB#139032 --- diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index f84f2f6..7bceaf0 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -2047,7 +2047,7 @@ gchar * modest_text_utils_get_secure_header (const gchar *value, const gchar *header) { - const gint max_len = 2048; + const gint max_len = 16384; gchar *new_value = NULL; gchar *needle = g_strrstr (value, header);