mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 01:22:18 +03:00
Fix on the m_buf generation: avoid padding before request body
This commit is contained in:
@@ -1556,7 +1556,6 @@ std::string Transaction::toBuf() {
|
||||
a.append("\n");
|
||||
}
|
||||
|
||||
a.append("\n\n");
|
||||
if (this->m_requestBody.str().length() > 0) {
|
||||
a.append(this->m_requestBody.str().c_str());
|
||||
a.append("\n\n");
|
||||
|
||||
Reference in New Issue
Block a user