mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
This commit is contained in:
parent
81145fe2b9
commit
0c1f2f2e09
4
CHANGES
4
CHANGES
@ -1,6 +1,8 @@
|
|||||||
09 May 2008 - trunk
|
30 May 2008 - trunk
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
* Fixed blocking in phase 3.
|
||||||
|
|
||||||
* Persistent counter updates are now atomic.
|
* Persistent counter updates are now atomic.
|
||||||
|
|
||||||
* Force modules "mod_rpaf-2.0.c" and "mod_custom_header.c" to run before
|
* Force modules "mod_rpaf-2.0.c" and "mod_custom_header.c" to run before
|
||||||
|
@ -961,6 +961,8 @@ static void hook_insert_filter(request_rec *r) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* NOTE: This is causing and endless loop when blocking in phase:3 */
|
||||||
|
#if 0
|
||||||
/**
|
/**
|
||||||
* Invoked whenever Apache starts processing an error. A chance
|
* Invoked whenever Apache starts processing an error. A chance
|
||||||
* to insert ourselves into the output filter chain.
|
* to insert ourselves into the output filter chain.
|
||||||
@ -1002,6 +1004,7 @@ static void hook_insert_error_filter(request_rec *r) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (!defined(NO_MODSEC_API))
|
#if (!defined(NO_MODSEC_API))
|
||||||
/**
|
/**
|
||||||
@ -1105,7 +1108,9 @@ static void register_hooks(apr_pool_t *mp) {
|
|||||||
|
|
||||||
/* Filter hooks */
|
/* Filter hooks */
|
||||||
ap_hook_insert_filter(hook_insert_filter, NULL, NULL, APR_HOOK_FIRST);
|
ap_hook_insert_filter(hook_insert_filter, NULL, NULL, APR_HOOK_FIRST);
|
||||||
|
#if 0
|
||||||
ap_hook_insert_error_filter(hook_insert_error_filter, NULL, NULL, APR_HOOK_FIRST);
|
ap_hook_insert_error_filter(hook_insert_error_filter, NULL, NULL, APR_HOOK_FIRST);
|
||||||
|
#endif
|
||||||
|
|
||||||
ap_register_input_filter("MODSECURITY_IN", input_filter,
|
ap_register_input_filter("MODSECURITY_IN", input_filter,
|
||||||
NULL, AP_FTYPE_CONTENT_SET);
|
NULL, AP_FTYPE_CONTENT_SET);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user