i want to filter html comments in the response body. So i used this:
SecRule STREAM_OUTPUT_BODY "@rsub s/<!-.*?->/ /" "phase:4,t:none,nolog,pass"
this works but not if i have more than one line… for example:
and how could i resolve this problem with mod_security 2.5 ?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.