detect/file-data: Apply transforms on file_data

This commit cause transforms to be applied on the sticky buffer.
pull/5475/head
Jeff Lucovsky 6 years ago committed by Victor Julien
parent e07a4393a9
commit 7ab986250a

@ -1,4 +1,4 @@
/* Copyright (C) 2007-2018 Open Information Security Foundation
/* Copyright (C) 2007-2020 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
@ -334,6 +334,8 @@ static InspectionBuffer *HttpServerBodyGetDataCallback(DetectEngineThreadCtx *de
}
}
InspectionBufferApplyTransforms(buffer, transforms);
/* move inspected tracker to end of the data. HtpBodyPrune will consider
* the window sizes when freeing data */
body->body_inspected = body->content_len_so_far;

Loading…
Cancel
Save