mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
PoC: Adds support to direct access on ARGS collection
This commit is contained in:
committed by
Felipe Zimmerle
parent
17e5a63577
commit
ca24b6bb06
@@ -288,7 +288,7 @@ bool Transaction::addArgument(const std::string& orig, const std::string& key,
|
||||
debug(4, "Adding request argument (" + orig + "): name \"" + \
|
||||
key + "\", value \"" + value + "\"");
|
||||
|
||||
m_collections.store("ARGS:" + key, value);
|
||||
m_variableArgs.set(key, value, m_variableOffset);
|
||||
|
||||
if (orig == "GET") {
|
||||
m_collections.store("ARGS_GET:" + key, value);
|
||||
|
Reference in New Issue
Block a user