mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
Changed strip methodology to MULTIPART_PART_HEADERS
This commit is contained in:
@@ -935,8 +935,7 @@ int Multipart::process_part_header(std::string *error, int offset) {
|
|||||||
"Multipart: Added part header \"" + header_name \
|
"Multipart: Added part header \"" + header_name \
|
||||||
+ "\" \"" + header_value + "\".");
|
+ "\" \"" + header_value + "\".");
|
||||||
if (len_without_termination > 0) {
|
if (len_without_termination > 0) {
|
||||||
m_buf[len_without_termination] = '\0';
|
m_mpp->m_last_header_line.assign(m_buf, len_without_termination);
|
||||||
m_mpp->m_last_header_line.assign(m_buf);
|
|
||||||
} else {
|
} else {
|
||||||
m_mpp->m_last_header_line.assign("");
|
m_mpp->m_last_header_line.assign("");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user