summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2008-05-27 21:25:49 +0000
committerJeffrey Stedfast <fejj@src.gnome.org>2008-05-27 21:25:49 +0000
commit985ab9c7562dd113e5f164901f05864c0d224c07 (patch)
treedd19147a04c93422b6ebfb1f92eabd69bdc8963c
parent1c087132af85ac09b779dcf5f4bf08da0ce49aff (diff)
downloadevolution-data-server-985ab9c7562dd113e5f164901f05864c0d224c07.tar.gz
Work around the broken "Jive Forums" NNTP gateway. Fixes bug #518312.
2008-05-22 Jeffrey Stedfast <fejj@novell.com> * camel-mime-utils.c (camel_header_param_list_format_append): Work around the broken "Jive Forums" NNTP gateway. Fixes bug #518312. svn path=/trunk/; revision=8864
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-mime-utils.c7
2 files changed, 10 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 886e48ec8..d86dce5d9 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-22 Jeffrey Stedfast <fejj@novell.com>
+
+ * camel-mime-utils.c (camel_header_param_list_format_append): Work
+ around the broken "Jive Forums" NNTP gateway. Fixes bug #518312.
+
2008-05-27 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fixes bug #534294.
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index e8f5f54e4..a405ba373 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -3416,8 +3416,11 @@ camel_header_param_list_format_append (GString *out, struct _camel_header_param
}
} else {
g_string_append_printf (out, "%s%s=", p->name, encoded ? "*" : "");
-
- if (encoded || !quote)
+
+ /* Quote even if we don't need to in order to
+ * work around broken mail software like the
+ * Jive Forums' NNTP gateway */
+ if (encoded /*|| !quote*/)
g_string_append (out, value);
else
quote_word (out, TRUE, value, vlen);