mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Improve multipart HTTP/MIME entity file analysis.
Singular CR or LF characters in multipart body content are no longer converted to a full CRLF (thus corrupting the file) and it also no longer considers the CRLF before the multipart boundary as part of the content. Addresses BIT-1235.
This commit is contained in:
parent
73cc81f44a
commit
d5513a0757
13 changed files with 82 additions and 31 deletions
|
@ -99,6 +99,8 @@ enum {
|
|||
// HTTP_MessageDone -> {Request,Reply}Made
|
||||
|
||||
class HTTP_Message : public mime::MIME_Message {
|
||||
friend class HTTP_Entity;
|
||||
|
||||
public:
|
||||
HTTP_Message(HTTP_Analyzer* analyzer, tcp::ContentLine_Analyzer* cl,
|
||||
bool is_orig, int expect_body, int64_t init_header_length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue