mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Adds partial support to UpdateActionById
This commit is contained in:
@@ -93,7 +93,7 @@ void XML::evaluate(Transaction *t,
|
||||
t->debug(2, "XML: Can't look for xmlns, internal error.");
|
||||
#endif
|
||||
} else {
|
||||
std::vector<actions::Action *> acts = rule->getActionsByName("xmlns");
|
||||
std::vector<actions::Action *> acts = rule->getActionsByName("xmlns", t);
|
||||
for (auto &x : acts) {
|
||||
actions::XmlNS *z = (actions::XmlNS *)x;
|
||||
if (xmlXPathRegisterNs(xpathCtx, (const xmlChar*)z->m_scope.c_str(),
|
||||
|
Reference in New Issue
Block a user