mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 10:20:35 +03:00
Reduce the workload on VariableValue
Last compute at the last minute, if needed.
This commit is contained in:
@@ -113,7 +113,8 @@ void InMemoryPerProcess::resolveMultiMatches(const std::string& var,
|
||||
if (ke.toOmit(var)) {
|
||||
continue;
|
||||
}
|
||||
l->insert(l->begin(), std::make_shared<VariableValue>(&m_name, &var, &it->second));
|
||||
l->insert(l->begin(), std::make_shared<VariableValue>(&m_name, &it->first, &it->second));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user