Fixed a bug with the MIME analyzer not removing whitespace on wrapped headers.

- No test due to lack of tracefile with wrapped header.
This commit is contained in:
Seth Hall 2012-06-05 11:25:10 -04:00
parent c5ae071500
commit 89cb103a2c

View file

@ -426,7 +426,8 @@ void MIME_Entity::ContHeader(int len, const char* data)
return;
}
current_header_line->append(len, data);
int ws = MIME_count_leading_lws(len, data);
current_header_line->append(len - ws, data + ws);
}
void MIME_Entity::FinishHeader()