Blame SOURCES/evolution-data-server-3.28.5-nonstandard-uuencode-encoding.patch

5e5107
diff -up evolution-data-server-3.28.5/src/camel/camel-folder-summary.c.nonstandard-uuencode-encoding evolution-data-server-3.28.5/src/camel/camel-folder-summary.c
5e5107
--- evolution-data-server-3.28.5/src/camel/camel-folder-summary.c.nonstandard-uuencode-encoding	2018-07-30 15:17:06.000000000 +0200
5e5107
+++ evolution-data-server-3.28.5/src/camel/camel-folder-summary.c	2021-09-30 17:30:47.674951472 +0200
5e5107
@@ -3153,7 +3153,8 @@ summary_traverse_content_with_parser (Ca
5e5107
 					else
5e5107
 						camel_mime_filter_reset (summary->priv->filter_qp);
5e5107
 					enc_id = camel_mime_parser_filter_add (mp, summary->priv->filter_qp);
5e5107
-				} else if (!g_ascii_strcasecmp (encoding, "x-uuencode")) {
5e5107
+				} else if (!g_ascii_strcasecmp (encoding, "x-uuencode") ||
5e5107
+					   !g_ascii_strcasecmp (encoding, "uuencode")) {
5e5107
 					d (printf (" decoding x-uuencode\n"));
5e5107
 					if (summary->priv->filter_uu == NULL)
5e5107
 						summary->priv->filter_uu = camel_mime_filter_basic_new (CAMEL_MIME_FILTER_BASIC_UU_DEC);
5e5107
diff -up evolution-data-server-3.28.5/src/camel/camel-mime-utils.c.nonstandard-uuencode-encoding evolution-data-server-3.28.5/src/camel/camel-mime-utils.c
5e5107
--- evolution-data-server-3.28.5/src/camel/camel-mime-utils.c.nonstandard-uuencode-encoding	2018-07-30 15:17:06.000000000 +0200
5e5107
+++ evolution-data-server-3.28.5/src/camel/camel-mime-utils.c	2021-09-30 17:30:47.674951472 +0200
5e5107
@@ -3268,6 +3268,9 @@ camel_transfer_encoding_from_string (con
5e5107
 		for (i = 0; i < G_N_ELEMENTS (encodings); i++)
5e5107
 			if (!g_ascii_strcasecmp (string, encodings[i]))
5e5107
 				return i;
5e5107
+
5e5107
+		if (!g_ascii_strcasecmp (string, "uuencode"))
5e5107
+			return CAMEL_TRANSFER_ENCODING_UUENCODE;
5e5107
 	}
5e5107
 
5e5107
 	return CAMEL_TRANSFER_ENCODING_DEFAULT;