mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Merge pull request #3127 from fzipi/fix-rbl-check
fix(rbl): typo in rbl check selector
This commit is contained in:
commit
6217b4ec1e
@ -71,9 +71,9 @@ class Rbl : public Operator {
|
|||||||
m_demandsPassword = true;
|
m_demandsPassword = true;
|
||||||
m_provider = RblProvider::httpbl;
|
m_provider = RblProvider::httpbl;
|
||||||
} else if (m_service.find("uribl.com") != std::string::npos) {
|
} else if (m_service.find("uribl.com") != std::string::npos) {
|
||||||
m_provider = RblProvider::httpbl;
|
m_provider = RblProvider::uribl;
|
||||||
} else if (m_service.find("spamhaus.org") != std::string::npos) {
|
} else if (m_service.find("spamhaus.org") != std::string::npos) {
|
||||||
m_provider = RblProvider::httpbl;
|
m_provider = RblProvider::spamhaus;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool evaluate(Transaction *transaction, RuleWithActions *rule,
|
bool evaluate(Transaction *transaction, RuleWithActions *rule,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user