Fix FILES_TMP_CONTENT collection key naming mechanism

This commit is contained in:
Ervin Hegedüs 2022-11-14 17:03:50 +01:00
parent 398e174234
commit aa44c7b726
2 changed files with 2 additions and 2 deletions

View File

@ -1220,7 +1220,7 @@ int Multipart::multipart_complete(std::string *error) {
m->m_tmp_file_size.second,
m->m_tmp_file_size.first);
m_transaction->m_variableFilesTmpContent.set(m->m_filename,
m_transaction->m_variableFilesTmpContent.set(m->m_name,
m->m_value, m->m_valueOffset);
file_combined_size = file_combined_size + m->m_tmp_file_size.first;

View File

@ -1784,7 +1784,7 @@
"SecRequestBodyAccess On",
"SecUploadKeepFiles On",
"SecUploadDir /tmp",
"SecRule FILES_TMP_CONTENT:small_text_file1.txt \"small\" \"id:1,phase:3,pass,t:trim,msg:'s'\""
"SecRule FILES_TMP_CONTENT:filedata \"small\" \"id:1,phase:3,pass,t:trim,msg:'s'\""
]
},
{