diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <fejj@ximian.com> + + * camel-mime-utils.c (header_param_list_format_append): Quote the + param value if it contains whitespace as well. + 2001-03-17 Jeffrey Stedfast <fejj@ximian.com> * 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) |