mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
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:
parent
c5ae071500
commit
89cb103a2c
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue