diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-04-29 13:34:30 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-04-29 13:34:30 +0300 |
commit | 21b82ef506c8be16a2022324cd3678a421b85a91 (patch) | |
tree | 1cc448fbdfb146f8160dc13ed19c99ce9dcfc608 | |
parent | 1a771a60bf194a84f8e2df404a768ea71623fbf9 (diff) | |
download | mailutils-21b82ef506c8be16a2022324cd3678a421b85a91.tar.gz mailutils-21b82ef506c8be16a2022324cd3678a421b85a91.tar.bz2 |
Allow for certain class of broken headers.
* mailbox/mimehdr.c (_header_get_param): Tolerate unquoted value parts
which contain tspecials, except ';'.
-rw-r--r-- | mailbox/mimehdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |