Accept additional whitespace and quotes in the disposition part of MIME headers.
* mailbox/mimehdr.c (disp_segment_len): New function. (mu_mimehdr_get_disp, mu_mimehdr_aget_disp): Use disp_segment_len. Unquote the returned string. (_header_get_param): Allow for whitespace before '"'. Unquote the string before comparison.
Showing
1 changed file
with
45 additions
and
12 deletions
-
Please register or sign in to post a comment