Disabled phase 5 after interception by mistake. Fixed

This commit is contained in:
ivanr
2008-06-05 14:57:05 +00:00
parent c3fd0231d0
commit e1e200c005

View File

@@ -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;
}