mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 01:36:08 +03:00
Make rules/README UNIX style EOL.
Merge another branch/2.1.x change.
This commit is contained in:
parent
d55e023bf7
commit
6569c444d8
@ -60,7 +60,7 @@ int perform_interception(modsec_rec *msr) {
|
|||||||
|
|
||||||
/* Check for an initial request */
|
/* Check for an initial request */
|
||||||
|
|
||||||
if (is_initial_req == 0) {
|
if (is_initial_req != 1) {
|
||||||
if (msr->r->main != NULL) {
|
if (msr->r->main != NULL) {
|
||||||
intreq_text = "Sub-Request: ";
|
intreq_text = "Sub-Request: ";
|
||||||
}
|
}
|
||||||
@ -95,7 +95,7 @@ int perform_interception(modsec_rec *msr) {
|
|||||||
* if a nolog action was used or this is not the initial request
|
* if a nolog action was used or this is not the initial request
|
||||||
* to hide the message.
|
* to hide the message.
|
||||||
*/
|
*/
|
||||||
log_level = ((actionset->log != 1) || (is_initial_req == 0)) ? 4 : 1;
|
log_level = ((actionset->log != 1) || (is_initial_req != 1)) ? 4 : 1;
|
||||||
|
|
||||||
/* Pause the request first (if configured and the initial request). */
|
/* Pause the request first (if configured and the initial request). */
|
||||||
if (actionset->intercept_pause && (is_initial_req == 1)) {
|
if (actionset->intercept_pause && (is_initial_req == 1)) {
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
ModSecurity Core Rule Set
|
ModSecurity Core Rule Set
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user