]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: apply transforms to http body 5575/head
authorPhilippe Antoine <contact@catenacyber.fr>
Tue, 12 Nov 2019 20:57:28 +0000 (21:57 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 17 Nov 2020 13:08:07 +0000 (14:08 +0100)
src/detect-http-client-body.c

index 1894c0e0ea4d5c484b3903654e529adf029153e3..97d2927829a2d844787795cdea1ba3d624e1ad94 100644 (file)
@@ -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