mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
test: Increases the cache size of the urldecode transformation
This commit is contained in:
parent
bb30d42b57
commit
c204f1f003
@ -38,7 +38,7 @@ class UrlDecodeInstantCache : public std::unordered_map<std::string, std::string
|
||||
|
||||
void cache(const std::string& value, const std::string& out) {
|
||||
emplace(value, out);
|
||||
if (size() > 100) {
|
||||
if (size() > 500) {
|
||||
erase(begin());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user