Commit 21b82ef5 21b82ef506c8be16a2022324cd3678a421b85a91 by Sergey Poznyakoff

Allow for certain class of broken headers.

* mailbox/mimehdr.c (_header_get_param): Tolerate unquoted value parts
which contain tspecials, except ';'.
1 parent 1a771a60
......@@ -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;
}
......