Adds support to the FILES_TMP_CONTENT variable

This commit is contained in:
Felipe Zimmerle
2015-07-17 15:50:49 -03:00
parent b6cccc798a
commit a264fc11c8
2 changed files with 64 additions and 0 deletions

View File

@@ -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();
}
}