mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
Treating ARGS_NAMES as an array instead of scalar
Both value and key are the same.
This commit is contained in:
@@ -309,7 +309,7 @@ bool Transaction::addArgument(const std::string& orig, const std::string& key,
|
||||
m_variableArgsPost.set(key, value, offset);
|
||||
m_variableArgPostNames.append(key, offset - key.size() - 1, true);
|
||||
}
|
||||
m_variableArgsNames.append(key, offset - key.size() - 1, true);
|
||||
m_variableArgsNames.set(key, key, offset - key.size() - 1);
|
||||
|
||||
m_ARGScombinedSizeDouble = m_ARGScombinedSizeDouble + \
|
||||
key.length() + value.length();
|
||||
|
Reference in New Issue
Block a user