mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Temporarily disable the HTML ENTITY DECODE transformation
This commit is contained in:
parent
a102b5ce2c
commit
b46dc34573
@ -42,7 +42,10 @@ std::string HtmlEntityDecode::evaluate(std::string value,
|
|||||||
}
|
}
|
||||||
|
|
||||||
char *tmp = strdup(value.c_str());
|
char *tmp = strdup(value.c_str());
|
||||||
html_entities_decode_inplace((unsigned char *)tmp, value.size());
|
|
||||||
|
// FIXME: html_entities_decode_inplace is not working as expected
|
||||||
|
// temporary disabled to perform the audit_log tests.
|
||||||
|
//html_entities_decode_inplace((unsigned char *)tmp, value.size());
|
||||||
std::string ret("");
|
std::string ret("");
|
||||||
ret.assign(tmp);
|
ret.assign(tmp);
|
||||||
free(tmp);
|
free(tmp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user