From: Philippe Antoine Date: Tue, 12 Nov 2019 20:57:28 +0000 (+0100) Subject: detect: apply transforms to http body X-Git-Tag: suricata-6.0.1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ae1a00362ec4707377b063c16caaeaf5f1cac5;p=thirdparty%2Fsuricata.git detect: apply transforms to http body --- diff --git a/src/detect-http-client-body.c b/src/detect-http-client-body.c index 1894c0e0ea..97d2927829 100644 --- a/src/detect-http-client-body.c +++ b/src/detect-http-client-body.c @@ -258,6 +258,7 @@ static InspectionBuffer *HttpClientBodyGetDataCallback(DetectEngineThreadCtx *de StreamingBufferGetDataAtOffset(body->sb, &data, &data_len, offset); InspectionBufferSetup(buffer, data, data_len); + InspectionBufferApplyTransforms(buffer, transforms); buffer->inspect_offset = offset; /* move inspected tracker to end of the data. HtpBodyPrune will consider