mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Fix log while displaying the name of a dict selection by regex
This commit is contained in:
@@ -63,7 +63,7 @@ class Global_NoDictElement : public Variable {
|
||||
class Global_DictElementRegexp : public Variable {
|
||||
public:
|
||||
explicit Global_DictElementRegexp(std::string dictElement)
|
||||
: Variable("GLOBAL"),
|
||||
: Variable("GLOBAL:regex(" + dictElement + ")"),
|
||||
m_r(dictElement),
|
||||
m_dictElement("GLOBAL:" + dictElement) { }
|
||||
|
||||
|
Reference in New Issue
Block a user