diff options
Diffstat (limited to 'src/misc.h')
-rw-r--r-- | src/misc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -59,7 +59,9 @@ static inline void a_Misc_parse_content_disposition(const char *disposition, cha return; } - /* FIXME: what about "attachment ; filename=foo"? */ + /* Skip blanks like "attachment ; ..." */ + while (*s == ' ' || *s == '\t') + s++; /* Stop if the terminator is not ; */ if (*s != ';') |