mirror of
https://github.com/openappsec/openappsec.git
synced 2025-10-01 12:07:43 +03:00
Aug_23_2023-Dev
This commit is contained in:
@@ -2277,7 +2277,7 @@ void Waf2Transaction::collectFoundPatterns()
|
||||
{
|
||||
if (m_scanResult)
|
||||
{
|
||||
for (const std::pair<std::string, std::vector<std::string>> &found_pattern : m_scanResult->found_patterns)
|
||||
for (const auto &found_pattern : m_scanResult->found_patterns)
|
||||
{
|
||||
const std::string ®ex_name = found_pattern.first; // the regex name (key)
|
||||
m_found_patterns.insert(regex_name);
|
||||
|
Reference in New Issue
Block a user