mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Splits Rule class into: Rule, RuleBase, RuleMarker
This commit is contained in:
@@ -81,11 +81,12 @@ int main(int argc, char **argv) {
|
||||
std::unordered_map<std::string, int> op2var;
|
||||
|
||||
for (int i = 0; i < rules->size(); i++) {
|
||||
std::shared_ptr<Rule> z = rules->at(i);
|
||||
std::string key;
|
||||
auto z = rules->at(i);
|
||||
//std::string key;
|
||||
if (z == NULL) {
|
||||
continue;
|
||||
}
|
||||
#if 0
|
||||
if (z->isUnconditional() == false) {
|
||||
std::string op = z->getOperatorName();
|
||||
if (operators.count(op) > 0) {
|
||||
@@ -95,6 +96,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
key = op;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
FIXME: This test may not be useful anymore. Disabling it for now.
|
||||
|
Reference in New Issue
Block a user