Bug 731604 - Recursive inline-PGP-signed text not shown properly
This commit is contained in:
@ -60,9 +60,7 @@ empe_inlinepgp_encrypted_parse (EMailParserExtension *extension,
|
||||
GList *head, *link;
|
||||
GError *local_error = NULL;
|
||||
|
||||
if (g_cancellable_is_cancelled (cancellable) ||
|
||||
/* avoid recursion */
|
||||
(part_id->str && part_id->len > 20 && g_str_has_suffix (part_id->str, ".inlinepgp_encrypted")))
|
||||
if (g_cancellable_is_cancelled (cancellable))
|
||||
return FALSE;
|
||||
|
||||
cipher = camel_gpg_context_new (e_mail_parser_get_session (parser));
|
||||
|
||||
@ -65,9 +65,7 @@ empe_inlinepgp_signed_parse (EMailParserExtension *extension,
|
||||
GError *local_error = NULL;
|
||||
GByteArray *ba;
|
||||
|
||||
if (g_cancellable_is_cancelled (cancellable) ||
|
||||
/* avoid recursion */
|
||||
(part_id->str && part_id->len > 17 && g_str_has_suffix (part_id->str, ".inlinepgp_signed")))
|
||||
if (g_cancellable_is_cancelled (cancellable))
|
||||
return FALSE;
|
||||
|
||||
cipher = camel_gpg_context_new (e_mail_parser_get_session (parser));
|
||||
|
||||
Reference in New Issue
Block a user