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

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