mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 09:55:28 +03:00
Limit the amount of transformations inside the cache storage
This commit is contained in:
@@ -47,7 +47,7 @@ std::string HtmlEntityDecode::evaluate(std::string value,
|
||||
ret.assign(tmp);
|
||||
free(tmp);
|
||||
|
||||
HtmlEntityDecodeInstantCache::getInstance().emplace(value, ret);
|
||||
HtmlEntityDecodeInstantCache::getInstance().cache(value, ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user