mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Renames collection::Variable to VariableValue
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Variables {
|
||||
|
||||
void XML::evaluate(Transaction *t,
|
||||
Rule *rule,
|
||||
std::vector<const collection::Variable *> *l) {
|
||||
std::vector<const VariableValue *> *l) {
|
||||
xmlXPathContextPtr xpathCtx;
|
||||
xmlXPathObjectPtr xpathObj;
|
||||
xmlNodeSetPtr nodes;
|
||||
@@ -127,7 +127,7 @@ void XML::evaluate(Transaction *t,
|
||||
xmlNodeGetContent(nodes->nodeTab[i]));
|
||||
if (content != NULL) {
|
||||
std::string *a = new std::string(content);
|
||||
collection::Variable *var = new collection::Variable(m_fullName,
|
||||
VariableValue *var = new VariableValue(m_fullName,
|
||||
a);
|
||||
delete a;
|
||||
l->push_back(var);
|
||||
|
Reference in New Issue
Block a user