mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Fix collections resolution
This commit is contained in:
parent
b0089cfde9
commit
0285c944f9
@ -1482,12 +1482,9 @@ void Assay::resolve_variable(const std::string& var,
|
|||||||
|
|
||||||
m_variables_strings.resolveVariable(var, l);
|
m_variables_strings.resolveVariable(var, l);
|
||||||
|
|
||||||
size_t ac = var.find(":");
|
/* It may be a collection */
|
||||||
if (ac != std::string::npos) {
|
for (auto &a : collections) {
|
||||||
/* It may be a collection */
|
a.second->resolveVariable(var, l);
|
||||||
for (auto &a : collections) {
|
|
||||||
a.second->resolveVariable(var, l);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user