mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Cosmetics: fixed static analysis issues.
This commit is contained in:
@@ -855,9 +855,9 @@ int Transaction::processRequestBody() {
|
||||
std::string fullRequest;
|
||||
std::vector<const VariableValue *> l;
|
||||
m_variableRequestHeaders.resolve(&l);
|
||||
for (auto &a : l) {
|
||||
fullRequest = fullRequest + a->getKey() + ": " + a->getValue() + "\n";
|
||||
delete a;
|
||||
for (auto &h : l) {
|
||||
fullRequest = fullRequest + h->getKey() + ": " + h->getValue() + "\n";
|
||||
delete h;
|
||||
}
|
||||
|
||||
fullRequest = fullRequest + "\n\n";
|
||||
|
Reference in New Issue
Block a user