mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-21 11:36:40 +03:00
Added notes for t:removeComments (#1207)
@@ -2918,8 +2918,15 @@ Replaces each occurrence of a C-style comment (/* ... */) with a single space (m
|
|||||||
Removes common comments chars (/*, */, --, #).
|
Removes common comments chars (/*, */, --, #).
|
||||||
|
|
||||||
== removeComments ==
|
== 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.
|
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 ==
|
== replaceNulls ==
|
||||||
Replaces NUL bytes in input with space characters (ASCII 0x20).
|
Replaces NUL bytes in input with space characters (ASCII 0x20).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user