mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Removes the ';' from the x-www-form-urlencoded body-processor comparison
This commit is contained in:
parent
d6363607aa
commit
c3cb23f47d
@ -541,7 +541,7 @@ int Transaction::addRequestHeader(const std::string& key,
|
|||||||
|
|
||||||
if (keyl == "content-type") {
|
if (keyl == "content-type") {
|
||||||
std::string multipart("multipart/form-data");
|
std::string multipart("multipart/form-data");
|
||||||
std::string urlencoded("application/x-www-form-urlencoded;");
|
std::string urlencoded("application/x-www-form-urlencoded");
|
||||||
std::string l = utils::string::tolower(value);
|
std::string l = utils::string::tolower(value);
|
||||||
if (l.compare(0, multipart.length(), multipart) == 0) {
|
if (l.compare(0, multipart.length(), multipart) == 0) {
|
||||||
this->m_requestBodyType = MultiPartRequestBody;
|
this->m_requestBodyType = MultiPartRequestBody;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user