mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-17 06:36:13 +03:00
Fix on the m_buf generation: avoid padding before request body
This commit is contained in:
parent
d56345084d
commit
8c2edc6a93
@ -1534,7 +1534,6 @@ std::string Transaction::toBuf() {
|
|||||||
a.append("\n");
|
a.append("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
a.append("\n\n");
|
|
||||||
if (this->m_requestBody.str().length() > 0) {
|
if (this->m_requestBody.str().length() > 0) {
|
||||||
a.append(this->m_requestBody.str().c_str());
|
a.append(this->m_requestBody.str().c_str());
|
||||||
a.append("\n\n");
|
a.append("\n\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user