mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Merge pull request #2831 from airween/v3/filestmpcontentfix
Fix FILES_TMP_CONTENT collection key naming mechanism
This commit is contained in:
commit
40f7a5067c
@ -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;
|
||||
|
@ -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'\""
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user