mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds support to the FILES_TMP_CONTENT variable
This commit is contained in:
@@ -214,6 +214,7 @@ bool Multipart::process(std::string data) {
|
||||
variables.emplace("FILES_NAMES:" + m.name, m.name);
|
||||
variables.emplace("FILES_SIZES:" + m.name,
|
||||
std::to_string(m.content.size()));
|
||||
variables.emplace("FILES_TMP_CONTENT:" + m.name, m.content);
|
||||
files_size = files_size + m.content.size();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user