mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Disabled phase 5 after interception by mistake. Fixed
This commit is contained in:
@@ -496,7 +496,7 @@ static apr_status_t modsecurity_process_phase_logging(modsec_rec *msr) {
|
||||
*/
|
||||
apr_status_t modsecurity_process_phase(modsec_rec *msr, unsigned int phase) {
|
||||
/* Check if we've should run. */
|
||||
if (msr->was_intercepted) {
|
||||
if ((msr->was_intercepted)&&(phase != PHASE_LOGGING)) {
|
||||
msr_log(msr, 4, "Skipping phase %i as request was already intercepted.", phase);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user