mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +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);
|
||||
|
||||
size_t ac = var.find(":");
|
||||
if (ac != std::string::npos) {
|
||||
/* It may be a collection */
|
||||
for (auto &a : collections) {
|
||||
a.second->resolveVariable(var, l);
|
||||
}
|
||||
/* It may be a collection */
|
||||
for (auto &a : collections) {
|
||||
a.second->resolveVariable(var, l);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user