mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Correctly handling nginx configuration merge
This commit is contained in:
@@ -66,6 +66,7 @@ int Driver::addSecRule(Rule *rule) {
|
||||
|
||||
|
||||
int Driver::parse(const std::string &f, const std::string &ref) {
|
||||
lastRule = NULL;
|
||||
loc.push_back(new yy::location());
|
||||
if (ref.empty()) {
|
||||
this->ref.push_back("<<reference missing or not informed>>");
|
||||
|
Reference in New Issue
Block a user