From a5389f2935fb453c6553769d3cc7963e1e73bfa6 Mon Sep 17 00:00:00 2001 From: Victor Hora Date: Wed, 25 Apr 2018 18:06:19 -0400 Subject: [PATCH] Adding comment to SecResponseBodyMimeType regarding JSON body inspection on response (#1749 - @1Jesper1) --- Reference-Manual-(v2.x).mediawiki | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Reference-Manual-(v2.x).mediawiki b/Reference-Manual-(v2.x).mediawiki index 97cc988..8a3422e 100644 --- a/Reference-Manual-(v2.x).mediawiki +++ b/Reference-Manual-(v2.x).mediawiki @@ -1351,6 +1351,8 @@ By default, ModSecurity will reject a response body that is longer than specifie Multiple SecResponseBodyMimeType directives can be used to add MIME types. Use SecResponseBodyMimeTypesClear to clear previously configured MIME types and start over. +; Note : Users that wish to perform JSON body inspection on response (phase 4) need to add _application/json_ to SecResponseBodyMimeType. + == SecResponseBodyMimeTypesClear == '''Description:''' Clears the list of MIME types considered for response body buffering, allowing you to start populating the list from scratch.