mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Changes debuglogs schema to avoid unecessary str allocation
This commit is contained in:
@@ -169,6 +169,7 @@ void perform_unit_test(ModSecurityTest<RegressionTest> *test,
|
||||
continue;
|
||||
}
|
||||
|
||||
modsec_rules->load("SecDebugLogLevel 9");
|
||||
if (modsec_rules->load(t->rules.c_str(), filename) < 0) {
|
||||
/* Parser error */
|
||||
if (t->parser_error.empty() == true) {
|
||||
|
Reference in New Issue
Block a user