From 21b82ef506c8be16a2022324cd3678a421b85a91 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 29 Apr 2010 13:34:30 +0300 Subject: Allow for certain class of broken headers. * mailbox/mimehdr.c (_header_get_param): Tolerate unquoted value parts which contain tspecials, except ';'. --- mailbox/mimehdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailbox/mimehdr.c b/mailbox/mimehdr.c index 3391868d1..df6624cbb 100644 --- a/mailbox/mimehdr.c +++ b/mailbox/mimehdr.c @@ -176,7 +176,7 @@ _header_get_param (const char *field_body, } else { - for (e = v + 1; !(_ISSPECIAL (*e) || mu_isspace (*e)); e++) + for (e = v + 1; *e && !(*e == ';' || mu_isspace (*e)); e++) ; len = e - v; } -- cgit v1.2.1