From a769d59bd5c1750ff314a2e16ad435c96e9b988b Mon Sep 17 00:00:00 2001 From: Victor Hora Date: Wed, 7 Jun 2017 19:03:28 -0400 Subject: [PATCH] Added notes for t:removeComments (#1207) --- Reference-Manual.mediawiki | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Reference-Manual.mediawiki b/Reference-Manual.mediawiki index 416d45f..292fcf5 100644 --- a/Reference-Manual.mediawiki +++ b/Reference-Manual.mediawiki @@ -2918,8 +2918,15 @@ Replaces each occurrence of a C-style comment (/* ... */) with a single space (m Removes common comments chars (/*, */, --, #). == removeComments == + +'''Version:''' 2.x-3.x(pre) + +'''Supported on libModSecurity:''' Yes + Removes each occurrence of comment (/* ... */, --, #). Multiple consecutive occurrences of which will not be compressed. +; Note : '''This transformation is known to be unreliable, might cause some unexpected behaviour and could be deprecated soon in a future release. Refer to issue [https://github.com/SpiderLabs/ModSecurity/issues/1207 #1207] for further information.'''. + == replaceNulls == Replaces NUL bytes in input with space characters (ASCII 0x20).