mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 17:41:52 +03:00
Simplify initialization of fileName member of Rule instances
This commit is contained in:
@@ -379,7 +379,7 @@ class VariableMonkeyResolution {
|
||||
|
||||
static std::string stringMatchResolve(Transaction *t,
|
||||
const std::string &variable) {
|
||||
std::unique_ptr<std::string> vv = nullptr;
|
||||
std::unique_ptr<std::string> vv;
|
||||
size_t collection = variable.find(".");
|
||||
if (collection == std::string::npos) {
|
||||
collection = variable.find(":");
|
||||
|
||||
Reference in New Issue
Block a user