From 5e96f5b6393b531f1f8d26a02e58e48d1ba4a973 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 19 Mar 2001 00:22:29 +0000 Subject: Quote the param value if it contains whitespace as well. 2001-03-18 Jeffrey Stedfast * camel-mime-utils.c (header_param_list_format_append): Quote the param value if it contains whitespace as well. svn path=/trunk/; revision=8804 --- camel/ChangeLog | 5 +++++ camel/camel-mime-utils.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index 91dfe7267b..7198a757c7 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2001-03-18 Jeffrey Stedfast + + * camel-mime-utils.c (header_param_list_format_append): Quote the + param value if it contains whitespace as well. + 2001-03-17 Jeffrey Stedfast * Makefile.am: Don't include system include dir. diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index edec357160..afc77fcf58 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -2391,7 +2391,7 @@ header_param_list_format_append(GString *out, struct _header_param *p) g_string_sprintfa(out, "%s=", p->name); for (ch = p->value; *ch; ch++) { - if (is_tspecial(*ch)) + if (is_tspecial (*ch) || is_lwsp (*ch)) break; } if (!*ch) -- cgit v1.2.3