mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
Fix the `log' action and the webserver error callback
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "actions/severity.h"
|
||||
#include "actions/capture.h"
|
||||
#include "actions/pass.h"
|
||||
#include "actions/log.h"
|
||||
|
||||
|
||||
|
||||
@@ -89,6 +90,9 @@ Action *Action::instantiate(const std::string& name) {
|
||||
if (name == "deny") {
|
||||
return new Deny(name);
|
||||
}
|
||||
if (name == "log") {
|
||||
return new Log(name);
|
||||
}
|
||||
return new Action(name);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user