Allow for certain class of broken headers.
* mailbox/mimehdr.c (_header_get_param): Tolerate unquoted value parts which contain tspecials, except ';'.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -176,7 +176,7 @@ _header_get_param (const char *field_body, | ... | @@ -176,7 +176,7 @@ _header_get_param (const char *field_body, |
176 | } | 176 | } |
177 | else | 177 | else |
178 | { | 178 | { |
179 | for (e = v + 1; !(_ISSPECIAL (*e) || mu_isspace (*e)); e++) | 179 | for (e = v + 1; *e && !(*e == ';' || mu_isspace (*e)); e++) |
180 | ; | 180 | ; |
181 | len = e - v; | 181 | len = e - v; |
182 | } | 182 | } | ... | ... |
-
Please register or sign in to post a comment