mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
parent
23bd6b4331
commit
6350e2badc
8
CHANGES
8
CHANGES
@ -2,9 +2,9 @@
|
|||||||
?? ??? 2007 - 2.2.0-trunk
|
?? ??? 2007 - 2.2.0-trunk
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
* TODO: Detect static files (trac #15)
|
* Do not trigger "pause" action for subrequests.
|
||||||
|
|
||||||
* Added rule file/line to audit log messages.
|
* Added matching rule filename and line number to audit log.
|
||||||
|
|
||||||
* Added new phrase matching operators, @pm and @pmFromFile. These use
|
* Added new phrase matching operators, @pm and @pmFromFile. These use
|
||||||
an alternate set based matching engine to perform faster phrase
|
an alternate set based matching engine to perform faster phrase
|
||||||
@ -14,10 +14,10 @@
|
|||||||
|
|
||||||
* Fixed problem with subrequests not being intercepted (only logged).
|
* Fixed problem with subrequests not being intercepted (only logged).
|
||||||
|
|
||||||
* Add Solaris to the list of platforms not supporting the hidden
|
* Added Solaris to the list of platforms not supporting the hidden
|
||||||
visibility attribute.
|
visibility attribute.
|
||||||
|
|
||||||
* Remove excessive debug log entries about "capture" action.
|
* Removed excessive debug log entries about "capture" action.
|
||||||
|
|
||||||
* Fixed decoding full-width unicode in t:urlDecodeUni.
|
* Fixed decoding full-width unicode in t:urlDecodeUni.
|
||||||
|
|
||||||
|
@ -79,9 +79,10 @@ int perform_interception(modsec_rec *msr) {
|
|||||||
phase_text = apr_psprintf(msr->mp, " (phase %i)", msr->phase);
|
phase_text = apr_psprintf(msr->mp, " (phase %i)", msr->phase);
|
||||||
|
|
||||||
/* By default we log at level 1 but we switch to 4
|
/* By default we log at level 1 but we switch to 4
|
||||||
* if a nolog action was used to hide the message.
|
* if a nolog action was used or this is a subrequest
|
||||||
|
* to hide the message.
|
||||||
*/
|
*/
|
||||||
log_level = (actionset->log != 1) ? 4 : 1;
|
log_level = ((actionset->log != 1) || (msr->r->main != NULL)) ? 4 : 1;
|
||||||
|
|
||||||
/* Pause the request first (if configured to do so and the main request). */
|
/* Pause the request first (if configured to do so and the main request). */
|
||||||
if (actionset->intercept_pause && (msr->r->main == NULL)) {
|
if (actionset->intercept_pause && (msr->r->main == NULL)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user