mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Refactoring on the VariableValue class
This commit is contained in:
@@ -125,7 +125,7 @@ void XML::evaluate(Transaction *t,
|
||||
xmlNodeGetContent(nodes->nodeTab[i]));
|
||||
if (content != NULL) {
|
||||
std::string *a = new std::string(content);
|
||||
VariableValue *var = new VariableValue(m_fullName,
|
||||
VariableValue *var = new VariableValue(m_fullName.get(),
|
||||
a);
|
||||
if (!m_keyExclusion.toOmit(*m_fullName)) {
|
||||
l->push_back(var);
|
||||
|
Reference in New Issue
Block a user